(()=>{var Uu=Object.defineProperty;var Vu=(e,t)=>{for(var n in t)Uu(e,n,{get:t[n],enumerable:!0})};var sr=!1,fr=!1,Pe=[],pr=-1;function Wu(e){Ku(e)}function Ku(e){Pe.includes(e)||Pe.push(e),zu()}function Xo(e){let t=Pe.indexOf(e);t!==-1&&t>pr&&Pe.splice(t,1)}function zu(){!fr&&!sr&&(sr=!0,queueMicrotask(Ju))}function Ju(){sr=!1,fr=!0;for(let e=0;e<Pe.length;e++)Pe[e](),pr=e;Pe.length=0,pr=-1,fr=!1}var $e,ke,Ue,Qo,dr=!0;function Yu(e){dr=!1,e(),dr=!0}function Zu(e){$e=e.reactive,Ue=e.release,ke=t=>e.effect(t,{scheduler:n=>{dr?Wu(n):n()}}),Qo=e.raw}function Mo(e){ke=e}function Xu(e){let t=()=>{};return[r=>{let o=ke(r);return e._x_effects||(e._x_effects=new Set,e._x_runEffects=()=>{e._x_effects.forEach(i=>i())}),e._x_effects.add(o),t=()=>{o!==void 0&&(e._x_effects.delete(o),Ue(o))},o},()=>{t()}]}function Go(e,t){let n=!0,r,o=ke(()=>{let i=e();JSON.stringify(i),n?r=i:queueMicrotask(()=>{t(i,r),r=i}),n=!1});return()=>Ue(o)}function yt(e,t,n={}){e.dispatchEvent(new CustomEvent(t,{detail:n,bubbles:!0,composed:!0,cancelable:!0}))}function ye(e,t){if(typeof ShadowRoot=="function"&&e instanceof ShadowRoot){Array.from(e.children).forEach(o=>ye(o,t));return}let n=!1;if(t(e,()=>n=!0),n)return;let r=e.firstElementChild;for(;r;)ye(r,t,!1),r=r.nextElementSibling}function ce(e,...t){console.warn(`Alpine Warning: ${e}`,...t)}var Ho=!1;function Qu(){Ho&&ce("Alpine has already been initialized on this page. Calling Alpine.start() more than once can cause problems."),Ho=!0,document.body||ce("Unable to initialize. Trying to load Alpine before `<body>` is available. Did you forget to add `defer` in Alpine's `<script>` tag?"),yt(document,"alpine:init"),yt(document,"alpine:initializing"),Tr(),tl(t=>ue(t,ye)),Cr(t=>Ir(t)),li((t,n)=>{Mr(t,n).forEach(r=>r())});let e=t=>!hn(t.parentElement,!0);Array.from(document.querySelectorAll(ni().join(","))).filter(e).forEach(t=>{ue(t)}),yt(document,"alpine:initialized")}var Pr=[],ei=[];function ti(){return Pr.map(e=>e())}function ni(){return Pr.concat(ei).map(e=>e())}function ri(e){Pr.push(e)}function oi(e){ei.push(e)}function hn(e,t=!1){return gn(e,n=>{if((t?ni():ti()).some(o=>n.matches(o)))return!0})}function gn(e,t){if(e){if(t(e))return e;if(e._x_teleportBack&&(e=e._x_teleportBack),!!e.parentElement)return gn(e.parentElement,t)}}function Gu(e){return ti().some(t=>e.matches(t))}var ii=[];function el(e){ii.push(e)}function ue(e,t=ye,n=()=>{}){hl(()=>{t(e,(r,o)=>{n(r,o),ii.forEach(i=>i(r,o)),Mr(r,r.attributes).forEach(i=>i()),r._x_ignore&&o()})})}function Ir(e){ye(e,t=>{fi(t),nl(t)})}var ai=[],ci=[],ui=[];function tl(e){ui.push(e)}function Cr(e,t){typeof t=="function"?(e._x_cleanups||(e._x_cleanups=[]),e._x_cleanups.push(t)):(t=e,ci.push(t))}function li(e){ai.push(e)}function si(e,t,n){e._x_attributeCleanups||(e._x_attributeCleanups={}),e._x_attributeCleanups[t]||(e._x_attributeCleanups[t]=[]),e._x_attributeCleanups[t].push(n)}function fi(e,t){e._x_attributeCleanups&&Object.entries(e._x_attributeCleanups).forEach(([n,r])=>{(t===void 0||t.includes(n))&&(r.forEach(o=>o()),delete e._x_attributeCleanups[n])})}function nl(e){if(e._x_cleanups)for(;e._x_cleanups.length;)e._x_cleanups.pop()()}var Dr=new MutationObserver(Nr),kr=!1;function Tr(){Dr.observe(document,{subtree:!0,childList:!0,attributes:!0,attributeOldValue:!0}),kr=!0}function pi(){rl(),Dr.disconnect(),kr=!1}var mt=[];function rl(){let e=Dr.takeRecords();mt.push(()=>e.length>0&&Nr(e));let t=mt.length;queueMicrotask(()=>{if(mt.length===t)for(;mt.length>0;)mt.shift()()})}function q(e){if(!kr)return e();pi();let t=e();return Tr(),t}var Rr=!1,pn=[];function ol(){Rr=!0}function il(){Rr=!1,Nr(pn),pn=[]}function Nr(e){if(Rr){pn=pn.concat(e);return}let t=new Set,n=new Set,r=new Map,o=new Map;for(let i=0;i<e.length;i++)if(!e[i].target._x_ignoreMutationObserver&&(e[i].type==="childList"&&(e[i].addedNodes.forEach(a=>a.nodeType===1&&t.add(a)),e[i].removedNodes.forEach(a=>a.nodeType===1&&n.add(a))),e[i].type==="attributes")){let a=e[i].target,c=e[i].attributeName,u=e[i].oldValue,s=()=>{r.has(a)||r.set(a,[]),r.get(a).push({name:c,value:a.getAttribute(c)})},l=()=>{o.has(a)||o.set(a,[]),o.get(a).push(c)};a.hasAttribute(c)&&u===null?s():a.hasAttribute(c)?(l(),s()):l()}o.forEach((i,a)=>{fi(a,i)}),r.forEach((i,a)=>{ai.forEach(c=>c(a,i))});for(let i of n)t.has(i)||(ci.forEach(a=>a(i)),Ir(i));t.forEach(i=>{i._x_ignoreSelf=!0,i._x_ignore=!0});for(let i of t)n.has(i)||i.isConnected&&(delete i._x_ignoreSelf,delete i._x_ignore,ui.forEach(a=>a(i)),i._x_ignore=!0,i._x_ignoreSelf=!0);t.forEach(i=>{delete i._x_ignoreSelf,delete i._x_ignore}),t=null,n=null,r=null,o=null}function di(e){return Ot(Fe(e))}function wt(e,t,n){return e._x_dataStack=[t,...Fe(n||e)],()=>{e._x_dataStack=e._x_dataStack.filter(r=>r!==t)}}function Fe(e){return e._x_dataStack?e._x_dataStack:typeof ShadowRoot=="function"&&e instanceof ShadowRoot?Fe(e.host):e.parentNode?Fe(e.parentNode):[]}function Ot(e){return new Proxy({objects:e},al)}var al={ownKeys({objects:e}){return Array.from(new Set(e.flatMap(t=>Object.keys(t))))},has({objects:e},t){return t==Symbol.unscopables?!1:e.some(n=>Object.prototype.hasOwnProperty.call(n,t))},get({objects:e},t,n){return t=="toJSON"?cl:Reflect.get(e.find(r=>Object.prototype.hasOwnProperty.call(r,t))||{},t,n)},set({objects:e},t,n,r){let o=e.find(a=>Object.prototype.hasOwnProperty.call(a,t))||e[e.length-1],i=Object.getOwnPropertyDescriptor(o,t);return i?.set&&i?.get?Reflect.set(o,t,n,r):Reflect.set(o,t,n)}};function cl(){return Reflect.ownKeys(this).reduce((t,n)=>(t[n]=Reflect.get(this,n),t),{})}function mi(e){let t=r=>typeof r=="object"&&!Array.isArray(r)&&r!==null,n=(r,o="")=>{Object.entries(Object.getOwnPropertyDescriptors(r)).forEach(([i,{value:a,enumerable:c}])=>{if(c===!1||a===void 0)return;let u=o===""?i:`${o}.${i}`;typeof a=="object"&&a!==null&&a._x_interceptor?r[i]=a.initialize(e,u,i):t(a)&&a!==r&&!(a instanceof Element)&&n(a,u)})};return n(e)}function hi(e,t=()=>{}){let n={initialValue:void 0,_x_interceptor:!0,initialize(r,o,i){return e(this.initialValue,()=>ul(r,o),a=>mr(r,o,a),o,i)}};return t(n),r=>{if(typeof r=="object"&&r!==null&&r._x_interceptor){let o=n.initialize.bind(n);n.initialize=(i,a,c)=>{let u=r.initialize(i,a,c);return n.initialValue=u,o(i,a,c)}}else n.initialValue=r;return n}}function ul(e,t){return t.split(".").reduce((n,r)=>n[r],e)}function mr(e,t,n){if(typeof t=="string"&&(t=t.split(".")),t.length===1)e[t[0]]=n;else{if(t.length===0)throw error;return e[t[0]]||(e[t[0]]={}),mr(e[t[0]],t.slice(1),n)}}var gi={};function G(e,t){gi[e]=t}function hr(e,t){return Object.entries(gi).forEach(([n,r])=>{let o=null;function i(){if(o)return o;{let[a,c]=Oi(t);return o={interceptor:hi,...a},Cr(t,c),o}}Object.defineProperty(e,`$${n}`,{get(){return r(t,i())},enumerable:!1})}),e}function ll(e,t,n,...r){try{return n(...r)}catch(o){bt(o,e,t)}}function bt(e,t,n=void 0){e=Object.assign(e??{message:"No error message given."},{el:t,expression:n}),console.warn(`Alpine Expression Error: ${e.message}

${n?'Expression: "'+n+`"

`:""}`,t),setTimeout(()=>{throw e},0)}var sn=!0;function vi(e){let t=sn;sn=!1;let n=e();return sn=t,n}function Ie(e,t,n={}){let r;return U(e,t)(o=>r=o,n),r}function U(...e){return yi(...e)}var yi=_i;function sl(e){yi=e}function _i(e,t){let n={};hr(n,e);let r=[n,...Fe(e)],o=typeof t=="function"?fl(r,t):dl(r,t,e);return ll.bind(null,e,t,o)}function fl(e,t){return(n=()=>{},{scope:r={},params:o=[]}={})=>{let i=t.apply(Ot([r,...e]),o);dn(n,i)}}var ar={};function pl(e,t){if(ar[e])return ar[e];let n=Object.getPrototypeOf(async function(){}).constructor,r=/^[\n\s]*if.*\(.*\)/.test(e.trim())||/^(let|const)\s/.test(e.trim())?`(async()=>{ ${e} })()`:e,i=(()=>{try{let a=new n(["__self","scope"],`with (scope) { __self.result = ${r} }; __self.finished = true; return __self.result;`);return Object.defineProperty(a,"name",{value:`[Alpine] ${e}`}),a}catch(a){return bt(a,t,e),Promise.resolve()}})();return ar[e]=i,i}function dl(e,t,n){let r=pl(t,n);return(o=()=>{},{scope:i={},params:a=[]}={})=>{r.result=void 0,r.finished=!1;let c=Ot([i,...e]);if(typeof r=="function"){let u=r(r,c).catch(s=>bt(s,n,t));r.finished?(dn(o,r.result,c,a,n),r.result=void 0):u.then(s=>{dn(o,s,c,a,n)}).catch(s=>bt(s,n,t)).finally(()=>r.result=void 0)}}}function dn(e,t,n,r,o){if(sn&&typeof t=="function"){let i=t.apply(n,r);i instanceof Promise?i.then(a=>dn(e,a,n,r)).catch(a=>bt(a,o,t)):e(i)}else typeof t=="object"&&t instanceof Promise?t.then(i=>e(i)):e(t)}var Lr="x-";function Ve(e=""){return Lr+e}function ml(e){Lr=e}var gr={};function H(e,t){return gr[e]=t,{before(n){if(!gr[n]){console.warn(String.raw`Cannot find directive \`${n}\`. \`${e}\` will use the default order of execution`);return}let r=Ae.indexOf(n);Ae.splice(r>=0?r:Ae.indexOf("DEFAULT"),0,e)}}}function Mr(e,t,n){if(t=Array.from(t),e._x_virtualDirectives){let i=Object.entries(e._x_virtualDirectives).map(([c,u])=>({name:c,value:u})),a=bi(i);i=i.map(c=>a.find(u=>u.name===c.name)?{name:`x-bind:${c.name}`,value:`"${c.value}"`}:c),t=t.concat(i)}let r={};return t.map(Ei((i,a)=>r[i]=a)).filter(Ai).map(vl(r,n)).sort(yl).map(i=>gl(e,i))}function bi(e){return Array.from(e).map(Ei()).filter(t=>!Ai(t))}var vr=!1,vt=new Map,wi=Symbol();function hl(e){vr=!0;let t=Symbol();wi=t,vt.set(t,[]);let n=()=>{for(;vt.get(t).length;)vt.get(t).shift()();vt.delete(t)},r=()=>{vr=!1,n()};e(n),r()}function Oi(e){let t=[],n=c=>t.push(c),[r,o]=Xu(e);return t.push(o),[{Alpine:xt,effect:r,cleanup:n,evaluateLater:U.bind(U,e),evaluate:Ie.bind(Ie,e)},()=>t.forEach(c=>c())]}function gl(e,t){let n=()=>{},r=gr[t.type]||n,[o,i]=Oi(e);si(e,t.original,i);let a=()=>{e._x_ignore||e._x_ignoreSelf||(r.inline&&r.inline(e,t,o),r=r.bind(r,e,t,o),vr?vt.get(wi).push(r):r())};return a.runCleanups=i,a}var Si=(e,t)=>({name:n,value:r})=>(n.startsWith(e)&&(n=n.replace(e,t)),{name:n,value:r}),xi=e=>e;function Ei(e=()=>{}){return({name:t,value:n})=>{let{name:r,value:o}=ji.reduce((i,a)=>a(i),{name:t,value:n});return r!==t&&e(r,t),{name:r,value:o}}}var ji=[];function Hr(e){ji.push(e)}function Ai({name:e}){return Pi().test(e)}var Pi=()=>new RegExp(`^${Lr}([^:^.]+)\\b`);function vl(e,t){return({name:n,value:r})=>{let o=n.match(Pi()),i=n.match(/:([a-zA-Z0-9\-_:]+)/),a=n.match(/\.[^.\]]+(?=[^\]]*$)/g)||[],c=t||e[n]||n;return{type:o?o[1]:null,value:i?i[1]:null,modifiers:a.map(u=>u.replace(".","")),expression:r,original:c}}}var yr="DEFAULT",Ae=["ignore","ref","data","id","anchor","bind","init","for","model","modelable","transition","show","if",yr,"teleport"];function yl(e,t){let n=Ae.indexOf(e.type)===-1?yr:e.type,r=Ae.indexOf(t.type)===-1?yr:t.type;return Ae.indexOf(n)-Ae.indexOf(r)}var _r=[],qr=!1;function Fr(e=()=>{}){return queueMicrotask(()=>{qr||setTimeout(()=>{br()})}),new Promise(t=>{_r.push(()=>{e(),t()})})}function br(){for(qr=!1;_r.length;)_r.shift()()}function _l(){qr=!0}function Br(e,t){return Array.isArray(t)?qo(e,t.join(" ")):typeof t=="object"&&t!==null?bl(e,t):typeof t=="function"?Br(e,t()):qo(e,t)}function qo(e,t){let n=i=>i.split(" ").filter(Boolean),r=i=>i.split(" ").filter(a=>!e.classList.contains(a)).filter(Boolean),o=i=>(e.classList.add(...i),()=>{e.classList.remove(...i)});return t=t===!0?t="":t||"",o(r(t))}function bl(e,t){let n=c=>c.split(" ").filter(Boolean),r=Object.entries(t).flatMap(([c,u])=>u?n(c):!1).filter(Boolean),o=Object.entries(t).flatMap(([c,u])=>u?!1:n(c)).filter(Boolean),i=[],a=[];return o.forEach(c=>{e.classList.contains(c)&&(e.classList.remove(c),a.push(c))}),r.forEach(c=>{e.classList.contains(c)||(e.classList.add(c),i.push(c))}),()=>{a.forEach(c=>e.classList.add(c)),i.forEach(c=>e.classList.remove(c))}}function vn(e,t){return typeof t=="object"&&t!==null?wl(e,t):Ol(e,t)}function wl(e,t){let n={};return Object.entries(t).forEach(([r,o])=>{n[r]=e.style[r],r.startsWith("--")||(r=Sl(r)),e.style.setProperty(r,o)}),setTimeout(()=>{e.style.length===0&&e.removeAttribute("style")}),()=>{vn(e,n)}}function Ol(e,t){let n=e.getAttribute("style",t);return e.setAttribute("style",t),()=>{e.setAttribute("style",n||"")}}function Sl(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function wr(e,t=()=>{}){let n=!1;return function(){n?t.apply(this,arguments):(n=!0,e.apply(this,arguments))}}H("transition",(e,{value:t,modifiers:n,expression:r},{evaluate:o})=>{typeof r=="function"&&(r=o(r)),r!==!1&&(!r||typeof r=="boolean"?El(e,n,t):xl(e,r,t))});function xl(e,t,n){Ii(e,Br,""),{enter:o=>{e._x_transition.enter.during=o},"enter-start":o=>{e._x_transition.enter.start=o},"enter-end":o=>{e._x_transition.enter.end=o},leave:o=>{e._x_transition.leave.during=o},"leave-start":o=>{e._x_transition.leave.start=o},"leave-end":o=>{e._x_transition.leave.end=o}}[n](t)}function El(e,t,n){Ii(e,vn);let r=!t.includes("in")&&!t.includes("out")&&!n,o=r||t.includes("in")||["enter"].includes(n),i=r||t.includes("out")||["leave"].includes(n);t.includes("in")&&!r&&(t=t.filter((y,_)=>_<t.indexOf("out"))),t.includes("out")&&!r&&(t=t.filter((y,_)=>_>t.indexOf("out")));let a=!t.includes("opacity")&&!t.includes("scale"),c=a||t.includes("opacity"),u=a||t.includes("scale"),s=c?0:1,l=u?ht(t,"scale",95)/100:1,f=ht(t,"delay",0)/1e3,p=ht(t,"origin","center"),m="opacity, transform",g=ht(t,"duration",150)/1e3,v=ht(t,"duration",75)/1e3,h="cubic-bezier(0.4, 0.0, 0.2, 1)";o&&(e._x_transition.enter.during={transformOrigin:p,transitionDelay:`${f}s`,transitionProperty:m,transitionDuration:`${g}s`,transitionTimingFunction:h},e._x_transition.enter.start={opacity:s,transform:`scale(${l})`},e._x_transition.enter.end={opacity:1,transform:"scale(1)"}),i&&(e._x_transition.leave.during={transformOrigin:p,transitionDelay:`${f}s`,transitionProperty:m,transitionDuration:`${v}s`,transitionTimingFunction:h},e._x_transition.leave.start={opacity:1,transform:"scale(1)"},e._x_transition.leave.end={opacity:s,transform:`scale(${l})`})}function Ii(e,t,n={}){e._x_transition||(e._x_transition={enter:{during:n,start:n,end:n},leave:{during:n,start:n,end:n},in(r=()=>{},o=()=>{}){Or(e,t,{during:this.enter.during,start:this.enter.start,end:this.enter.end},r,o)},out(r=()=>{},o=()=>{}){Or(e,t,{during:this.leave.during,start:this.leave.start,end:this.leave.end},r,o)}})}window.Element.prototype._x_toggleAndCascadeWithTransitions=function(e,t,n,r){let o=document.visibilityState==="visible"?requestAnimationFrame:setTimeout,i=()=>o(n);if(t){e._x_transition&&(e._x_transition.enter||e._x_transition.leave)?e._x_transition.enter&&(Object.entries(e._x_transition.enter.during).length||Object.entries(e._x_transition.enter.start).length||Object.entries(e._x_transition.enter.end).length)?e._x_transition.in(n):i():e._x_transition?e._x_transition.in(n):i();return}e._x_hidePromise=e._x_transition?new Promise((a,c)=>{e._x_transition.out(()=>{},()=>a(r)),e._x_transitioning&&e._x_transitioning.beforeCancel(()=>c({isFromCancelledTransition:!0}))}):Promise.resolve(r),queueMicrotask(()=>{let a=Ci(e);a?(a._x_hideChildren||(a._x_hideChildren=[]),a._x_hideChildren.push(e)):o(()=>{let c=u=>{let s=Promise.all([u._x_hidePromise,...(u._x_hideChildren||[]).map(c)]).then(([l])=>l());return delete u._x_hidePromise,delete u._x_hideChildren,s};c(e).catch(u=>{if(!u.isFromCancelledTransition)throw u})})})};function Ci(e){let t=e.parentNode;if(t)return t._x_hidePromise?t:Ci(t)}function Or(e,t,{during:n,start:r,end:o}={},i=()=>{},a=()=>{}){if(e._x_transitioning&&e._x_transitioning.cancel(),Object.keys(n).length===0&&Object.keys(r).length===0&&Object.keys(o).length===0){i(),a();return}let c,u,s;jl(e,{start(){c=t(e,r)},during(){u=t(e,n)},before:i,end(){c(),s=t(e,o)},after:a,cleanup(){u(),s()}})}function jl(e,t){let n,r,o,i=wr(()=>{q(()=>{n=!0,r||t.before(),o||(t.end(),br()),t.after(),e.isConnected&&t.cleanup(),delete e._x_transitioning})});e._x_transitioning={beforeCancels:[],beforeCancel(a){this.beforeCancels.push(a)},cancel:wr(function(){for(;this.beforeCancels.length;)this.beforeCancels.shift()();i()}),finish:i},q(()=>{t.start(),t.during()}),_l(),requestAnimationFrame(()=>{if(n)return;let a=Number(getComputedStyle(e).transitionDuration.replace(/,.*/,"").replace("s",""))*1e3,c=Number(getComputedStyle(e).transitionDelay.replace(/,.*/,"").replace("s",""))*1e3;a===0&&(a=Number(getComputedStyle(e).animationDuration.replace("s",""))*1e3),q(()=>{t.before()}),r=!0,requestAnimationFrame(()=>{n||(q(()=>{t.end()}),br(),setTimeout(e._x_transitioning.finish,a+c),o=!0)})})}function ht(e,t,n){if(e.indexOf(t)===-1)return n;let r=e[e.indexOf(t)+1];if(!r||t==="scale"&&isNaN(r))return n;if(t==="duration"||t==="delay"){let o=r.match(/([0-9]+)ms/);if(o)return o[1]}return t==="origin"&&["top","right","left","center","bottom"].includes(e[e.indexOf(t)+2])?[r,e[e.indexOf(t)+2]].join(" "):r}var _e=!1;function St(e,t=()=>{}){return(...n)=>_e?t(...n):e(...n)}function Al(e){return(...t)=>_e&&e(...t)}var Di=[];function yn(e){Di.push(e)}function Pl(e,t){Di.forEach(n=>n(e,t)),_e=!0,ki(()=>{ue(t,(n,r)=>{r(n,()=>{})})}),_e=!1}var Sr=!1;function Il(e,t){t._x_dataStack||(t._x_dataStack=e._x_dataStack),_e=!0,Sr=!0,ki(()=>{Cl(t)}),_e=!1,Sr=!1}function Cl(e){let t=!1;ue(e,(r,o)=>{ye(r,(i,a)=>{if(t&&Gu(i))return a();t=!0,o(i,a)})})}function ki(e){let t=ke;Mo((n,r)=>{let o=t(n);return Ue(o),()=>{}}),e(),Mo(t)}function Ti(e,t,n,r=[]){switch(e._x_bindings||(e._x_bindings=$e({})),e._x_bindings[t]=n,t=r.includes("camel")?Hl(t):t,t){case"value":Dl(e,n);break;case"style":Tl(e,n);break;case"class":kl(e,n);break;case"selected":case"checked":Rl(e,t,n);break;default:Ri(e,t,n);break}}function Dl(e,t){if(e.type==="radio")e.attributes.value===void 0&&(e.value=t),window.fromModel&&(typeof t=="boolean"?e.checked=fn(e.value)===t:e.checked=Fo(e.value,t));else if(e.type==="checkbox")Number.isInteger(t)?e.value=t:!Array.isArray(t)&&typeof t!="boolean"&&![null,void 0].includes(t)?e.value=String(t):Array.isArray(t)?e.checked=t.some(n=>Fo(n,e.value)):e.checked=!!t;else if(e.tagName==="SELECT")Ml(e,t);else{if(e.value===t)return;e.value=t===void 0?"":t}}function kl(e,t){e._x_undoAddedClasses&&e._x_undoAddedClasses(),e._x_undoAddedClasses=Br(e,t)}function Tl(e,t){e._x_undoAddedStyles&&e._x_undoAddedStyles(),e._x_undoAddedStyles=vn(e,t)}function Rl(e,t,n){Ri(e,t,n),Ll(e,t,n)}function Ri(e,t,n){[null,void 0,!1].includes(n)&&ql(t)?e.removeAttribute(t):(Ni(t)&&(n=t),Nl(e,t,n))}function Nl(e,t,n){e.getAttribute(t)!=n&&e.setAttribute(t,n)}function Ll(e,t,n){e[t]!==n&&(e[t]=n)}function Ml(e,t){let n=[].concat(t).map(r=>r+"");Array.from(e.options).forEach(r=>{r.selected=n.includes(r.value)})}function Hl(e){return e.toLowerCase().replace(/-(\w)/g,(t,n)=>n.toUpperCase())}function Fo(e,t){return e==t}function fn(e){return[1,"1","true","on","yes",!0].includes(e)?!0:[0,"0","false","off","no",!1].includes(e)?!1:e?!!e:null}function Ni(e){return["disabled","checked","required","readonly","hidden","open","selected","autofocus","itemscope","multiple","novalidate","allowfullscreen","allowpaymentrequest","formnovalidate","autoplay","controls","loop","muted","playsinline","default","ismap","reversed","async","defer","nomodule"].includes(e)}function ql(e){return!["aria-pressed","aria-checked","aria-expanded","aria-selected"].includes(e)}function Fl(e,t,n){return e._x_bindings&&e._x_bindings[t]!==void 0?e._x_bindings[t]:Li(e,t,n)}function Bl(e,t,n,r=!0){if(e._x_bindings&&e._x_bindings[t]!==void 0)return e._x_bindings[t];if(e._x_inlineBindings&&e._x_inlineBindings[t]!==void 0){let o=e._x_inlineBindings[t];return o.extract=r,vi(()=>Ie(e,o.expression))}return Li(e,t,n)}function Li(e,t,n){let r=e.getAttribute(t);return r===null?typeof n=="function"?n():n:r===""?!0:Ni(t)?!![t,"true"].includes(r):r}function Mi(e,t){var n;return function(){var r=this,o=arguments,i=function(){n=null,e.apply(r,o)};clearTimeout(n),n=setTimeout(i,t)}}function Hi(e,t){let n;return function(){let r=this,o=arguments;n||(e.apply(r,o),n=!0,setTimeout(()=>n=!1,t))}}function qi({get:e,set:t},{get:n,set:r}){let o=!0,i,a,c=ke(()=>{let u=e(),s=n();if(o)r(cr(u)),o=!1;else{let l=JSON.stringify(u),f=JSON.stringify(s);l!==i?r(cr(u)):l!==f&&t(cr(s))}i=JSON.stringify(e()),a=JSON.stringify(n())});return()=>{Ue(c)}}function cr(e){return typeof e=="object"?JSON.parse(JSON.stringify(e)):e}function $l(e){(Array.isArray(e)?e:[e]).forEach(n=>n(xt))}var je={},Bo=!1;function Ul(e,t){if(Bo||(je=$e(je),Bo=!0),t===void 0)return je[e];je[e]=t,typeof t=="object"&&t!==null&&t.hasOwnProperty("init")&&typeof t.init=="function"&&je[e].init(),mi(je[e])}function Vl(){return je}var Fi={};function Wl(e,t){let n=typeof t!="function"?()=>t:t;return e instanceof Element?Bi(e,n()):(Fi[e]=n,()=>{})}function Kl(e){return Object.entries(Fi).forEach(([t,n])=>{Object.defineProperty(e,t,{get(){return(...r)=>n(...r)}})}),e}function Bi(e,t,n){let r=[];for(;r.length;)r.pop()();let o=Object.entries(t).map(([a,c])=>({name:a,value:c})),i=bi(o);return o=o.map(a=>i.find(c=>c.name===a.name)?{name:`x-bind:${a.name}`,value:`"${a.value}"`}:a),Mr(e,o,n).map(a=>{r.push(a.runCleanups),a()}),()=>{for(;r.length;)r.pop()()}}var $i={};function zl(e,t){$i[e]=t}function Jl(e,t){return Object.entries($i).forEach(([n,r])=>{Object.defineProperty(e,n,{get(){return(...o)=>r.bind(t)(...o)},enumerable:!1})}),e}var Yl={get reactive(){return $e},get release(){return Ue},get effect(){return ke},get raw(){return Qo},version:"3.13.5",flushAndStopDeferringMutations:il,dontAutoEvaluateFunctions:vi,disableEffectScheduling:Yu,startObservingMutations:Tr,stopObservingMutations:pi,setReactivityEngine:Zu,onAttributeRemoved:si,onAttributesAdded:li,closestDataStack:Fe,skipDuringClone:St,onlyDuringClone:Al,addRootSelector:ri,addInitSelector:oi,interceptClone:yn,addScopeToNode:wt,deferMutations:ol,mapAttributes:Hr,evaluateLater:U,interceptInit:el,setEvaluator:sl,mergeProxies:Ot,extractProp:Bl,findClosest:gn,onElRemoved:Cr,closestRoot:hn,destroyTree:Ir,interceptor:hi,transition:Or,setStyles:vn,mutateDom:q,directive:H,entangle:qi,throttle:Hi,debounce:Mi,evaluate:Ie,initTree:ue,nextTick:Fr,prefixed:Ve,prefix:ml,plugin:$l,magic:G,store:Ul,start:Qu,clone:Il,cloneNode:Pl,bound:Fl,$data:di,watch:Go,walk:ye,data:zl,bind:Wl},xt=Yl;function Ui(e,t){let n=Object.create(null),r=e.split(",");for(let o=0;o<r.length;o++)n[r[o]]=!0;return t?o=>!!n[o.toLowerCase()]:o=>!!n[o]}var Zl="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Qd=Ui(Zl+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected"),Xl=Object.freeze({}),Gd=Object.freeze([]),Ql=Object.prototype.hasOwnProperty,_n=(e,t)=>Ql.call(e,t),Ce=Array.isArray,_t=e=>Vi(e)==="[object Map]",Gl=e=>typeof e=="string",$r=e=>typeof e=="symbol",bn=e=>e!==null&&typeof e=="object",es=Object.prototype.toString,Vi=e=>es.call(e),Wi=e=>Vi(e).slice(8,-1),Ur=e=>Gl(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,wn=e=>{let t=Object.create(null);return n=>t[n]||(t[n]=e(n))},ts=/-(\w)/g,em=wn(e=>e.replace(ts,(t,n)=>n?n.toUpperCase():"")),ns=/\B([A-Z])/g,tm=wn(e=>e.replace(ns,"-$1").toLowerCase()),Ki=wn(e=>e.charAt(0).toUpperCase()+e.slice(1)),nm=wn(e=>e?`on${Ki(e)}`:""),zi=(e,t)=>e!==t&&(e===e||t===t),xr=new WeakMap,gt=[],ne,De=Symbol("iterate"),Er=Symbol("Map key iterate");function rs(e){return e&&e._isEffect===!0}function os(e,t=Xl){rs(e)&&(e=e.raw);let n=cs(e,t);return t.lazy||n(),n}function is(e){e.active&&(Ji(e),e.options.onStop&&e.options.onStop(),e.active=!1)}var as=0;function cs(e,t){let n=function(){if(!n.active)return e();if(!gt.includes(n)){Ji(n);try{return ls(),gt.push(n),ne=n,e()}finally{gt.pop(),Yi(),ne=gt[gt.length-1]}}};return n.id=as++,n.allowRecurse=!!t.allowRecurse,n._isEffect=!0,n.active=!0,n.raw=e,n.deps=[],n.options=t,n}function Ji(e){let{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}var Be=!0,Vr=[];function us(){Vr.push(Be),Be=!1}function ls(){Vr.push(Be),Be=!0}function Yi(){let e=Vr.pop();Be=e===void 0?!0:e}function Q(e,t,n){if(!Be||ne===void 0)return;let r=xr.get(e);r||xr.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=new Set),o.has(ne)||(o.add(ne),ne.deps.push(o),ne.options.onTrack&&ne.options.onTrack({effect:ne,target:e,type:t,key:n}))}function be(e,t,n,r,o,i){let a=xr.get(e);if(!a)return;let c=new Set,u=l=>{l&&l.forEach(f=>{(f!==ne||f.allowRecurse)&&c.add(f)})};if(t==="clear")a.forEach(u);else if(n==="length"&&Ce(e))a.forEach((l,f)=>{(f==="length"||f>=r)&&u(l)});else switch(n!==void 0&&u(a.get(n)),t){case"add":Ce(e)?Ur(n)&&u(a.get("length")):(u(a.get(De)),_t(e)&&u(a.get(Er)));break;case"delete":Ce(e)||(u(a.get(De)),_t(e)&&u(a.get(Er)));break;case"set":_t(e)&&u(a.get(De));break}let s=l=>{l.options.onTrigger&&l.options.onTrigger({effect:l,target:e,key:n,type:t,newValue:r,oldValue:o,oldTarget:i}),l.options.scheduler?l.options.scheduler(l):l()};c.forEach(s)}var ss=Ui("__proto__,__v_isRef,__isVue"),Zi=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter($r)),fs=Xi(),ps=Xi(!0),$o=ds();function ds(){let e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){let r=R(this);for(let i=0,a=this.length;i<a;i++)Q(r,"get",i+"");let o=r[t](...n);return o===-1||o===!1?r[t](...n.map(R)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){us();let r=R(this)[t].apply(this,n);return Yi(),r}}),e}function Xi(e=!1,t=!1){return function(r,o,i){if(o==="__v_isReactive")return!e;if(o==="__v_isReadonly")return e;if(o==="__v_raw"&&i===(e?t?Is:ta:t?Ps:ea).get(r))return r;let a=Ce(r);if(!e&&a&&_n($o,o))return Reflect.get($o,o,i);let c=Reflect.get(r,o,i);return($r(o)?Zi.has(o):ss(o))||(e||Q(r,"get",o),t)?c:jr(c)?!a||!Ur(o)?c.value:c:bn(c)?e?na(c):Jr(c):c}}var ms=hs();function hs(e=!1){return function(n,r,o,i){let a=n[r];if(!e&&(o=R(o),a=R(a),!Ce(n)&&jr(a)&&!jr(o)))return a.value=o,!0;let c=Ce(n)&&Ur(r)?Number(r)<n.length:_n(n,r),u=Reflect.set(n,r,o,i);return n===R(i)&&(c?zi(o,a)&&be(n,"set",r,o,a):be(n,"add",r,o)),u}}function gs(e,t){let n=_n(e,t),r=e[t],o=Reflect.deleteProperty(e,t);return o&&n&&be(e,"delete",t,void 0,r),o}function vs(e,t){let n=Reflect.has(e,t);return(!$r(t)||!Zi.has(t))&&Q(e,"has",t),n}function ys(e){return Q(e,"iterate",Ce(e)?"length":De),Reflect.ownKeys(e)}var _s={get:fs,set:ms,deleteProperty:gs,has:vs,ownKeys:ys},bs={get:ps,set(e,t){return console.warn(`Set operation on key "${String(t)}" failed: target is readonly.`,e),!0},deleteProperty(e,t){return console.warn(`Delete operation on key "${String(t)}" failed: target is readonly.`,e),!0}},Wr=e=>bn(e)?Jr(e):e,Kr=e=>bn(e)?na(e):e,zr=e=>e,On=e=>Reflect.getPrototypeOf(e);function on(e,t,n=!1,r=!1){e=e.__v_raw;let o=R(e),i=R(t);t!==i&&!n&&Q(o,"get",t),!n&&Q(o,"get",i);let{has:a}=On(o),c=r?zr:n?Kr:Wr;if(a.call(o,t))return c(e.get(t));if(a.call(o,i))return c(e.get(i));e!==o&&e.get(t)}function an(e,t=!1){let n=this.__v_raw,r=R(n),o=R(e);return e!==o&&!t&&Q(r,"has",e),!t&&Q(r,"has",o),e===o?n.has(e):n.has(e)||n.has(o)}function cn(e,t=!1){return e=e.__v_raw,!t&&Q(R(e),"iterate",De),Reflect.get(e,"size",e)}function Uo(e){e=R(e);let t=R(this);return On(t).has.call(t,e)||(t.add(e),be(t,"add",e,e)),this}function Vo(e,t){t=R(t);let n=R(this),{has:r,get:o}=On(n),i=r.call(n,e);i?Gi(n,r,e):(e=R(e),i=r.call(n,e));let a=o.call(n,e);return n.set(e,t),i?zi(t,a)&&be(n,"set",e,t,a):be(n,"add",e,t),this}function Wo(e){let t=R(this),{has:n,get:r}=On(t),o=n.call(t,e);o?Gi(t,n,e):(e=R(e),o=n.call(t,e));let i=r?r.call(t,e):void 0,a=t.delete(e);return o&&be(t,"delete",e,void 0,i),a}function Ko(){let e=R(this),t=e.size!==0,n=_t(e)?new Map(e):new Set(e),r=e.clear();return t&&be(e,"clear",void 0,void 0,n),r}function un(e,t){return function(r,o){let i=this,a=i.__v_raw,c=R(a),u=t?zr:e?Kr:Wr;return!e&&Q(c,"iterate",De),a.forEach((s,l)=>r.call(o,u(s),u(l),i))}}function ln(e,t,n){return function(...r){let o=this.__v_raw,i=R(o),a=_t(i),c=e==="entries"||e===Symbol.iterator&&a,u=e==="keys"&&a,s=o[e](...r),l=n?zr:t?Kr:Wr;return!t&&Q(i,"iterate",u?Er:De),{next(){let{value:f,done:p}=s.next();return p?{value:f,done:p}:{value:c?[l(f[0]),l(f[1])]:l(f),done:p}},[Symbol.iterator](){return this}}}}function ve(e){return function(...t){{let n=t[0]?`on key "${t[0]}" `:"";console.warn(`${Ki(e)} operation ${n}failed: target is readonly.`,R(this))}return e==="delete"?!1:this}}function ws(){let e={get(i){return on(this,i)},get size(){return cn(this)},has:an,add:Uo,set:Vo,delete:Wo,clear:Ko,forEach:un(!1,!1)},t={get(i){return on(this,i,!1,!0)},get size(){return cn(this)},has:an,add:Uo,set:Vo,delete:Wo,clear:Ko,forEach:un(!1,!0)},n={get(i){return on(this,i,!0)},get size(){return cn(this,!0)},has(i){return an.call(this,i,!0)},add:ve("add"),set:ve("set"),delete:ve("delete"),clear:ve("clear"),forEach:un(!0,!1)},r={get(i){return on(this,i,!0,!0)},get size(){return cn(this,!0)},has(i){return an.call(this,i,!0)},add:ve("add"),set:ve("set"),delete:ve("delete"),clear:ve("clear"),forEach:un(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=ln(i,!1,!1),n[i]=ln(i,!0,!1),t[i]=ln(i,!1,!0),r[i]=ln(i,!0,!0)}),[e,n,t,r]}var[Os,Ss,xs,Es]=ws();function Qi(e,t){let n=t?e?Es:xs:e?Ss:Os;return(r,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(_n(n,o)&&o in r?n:r,o,i)}var js={get:Qi(!1,!1)},As={get:Qi(!0,!1)};function Gi(e,t,n){let r=R(n);if(r!==n&&t.call(e,r)){let o=Wi(e);console.warn(`Reactive ${o} contains both the raw and reactive versions of the same object${o==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}var ea=new WeakMap,Ps=new WeakMap,ta=new WeakMap,Is=new WeakMap;function Cs(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ds(e){return e.__v_skip||!Object.isExtensible(e)?0:Cs(Wi(e))}function Jr(e){return e&&e.__v_isReadonly?e:ra(e,!1,_s,js,ea)}function na(e){return ra(e,!0,bs,As,ta)}function ra(e,t,n,r,o){if(!bn(e))return console.warn(`value cannot be made reactive: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;let i=o.get(e);if(i)return i;let a=Ds(e);if(a===0)return e;let c=new Proxy(e,a===2?r:n);return o.set(e,c),c}function R(e){return e&&R(e.__v_raw)||e}function jr(e){return!!(e&&e.__v_isRef===!0)}G("nextTick",()=>Fr);G("dispatch",e=>yt.bind(yt,e));G("watch",(e,{evaluateLater:t,cleanup:n})=>(r,o)=>{let i=t(r),c=Go(()=>{let u;return i(s=>u=s),u},o);n(c)});G("store",Vl);G("data",e=>di(e));G("root",e=>hn(e));G("refs",e=>(e._x_refs_proxy||(e._x_refs_proxy=Ot(ks(e))),e._x_refs_proxy));function ks(e){let t=[],n=e;for(;n;)n._x_refs&&t.push(n._x_refs),n=n.parentNode;return t}var ur={};function oa(e){return ur[e]||(ur[e]=0),++ur[e]}function Ts(e,t){return gn(e,n=>{if(n._x_ids&&n._x_ids[t])return!0})}function Rs(e,t){e._x_ids||(e._x_ids={}),e._x_ids[t]||(e._x_ids[t]=oa(t))}G("id",(e,{cleanup:t})=>(n,r=null)=>{let o=`${n}${r?`-${r}`:""}`;return Ns(e,o,t,()=>{let i=Ts(e,n),a=i?i._x_ids[n]:oa(n);return r?`${n}-${a}-${r}`:`${n}-${a}`})});yn((e,t)=>{e._x_id&&(t._x_id=e._x_id)});function Ns(e,t,n,r){if(e._x_id||(e._x_id={}),e._x_id[t])return e._x_id[t];let o=r();return e._x_id[t]=o,n(()=>{delete e._x_id[t]}),o}G("el",e=>e);ia("Focus","focus","focus");ia("Persist","persist","persist");function ia(e,t,n){G(t,r=>ce(`You can't use [$${t}] without first installing the "${e}" plugin here: https://alpinejs.dev/plugins/${n}`,r))}H("modelable",(e,{expression:t},{effect:n,evaluateLater:r,cleanup:o})=>{let i=r(t),a=()=>{let l;return i(f=>l=f),l},c=r(`${t} = __placeholder`),u=l=>c(()=>{},{scope:{__placeholder:l}}),s=a();u(s),queueMicrotask(()=>{if(!e._x_model)return;e._x_removeModelListeners.default();let l=e._x_model.get,f=e._x_model.set,p=qi({get(){return l()},set(m){f(m)}},{get(){return a()},set(m){u(m)}});o(p)})});H("teleport",(e,{modifiers:t,expression:n},{cleanup:r})=>{e.tagName.toLowerCase()!=="template"&&ce("x-teleport can only be used on a <template> tag",e);let o=zo(n),i=e.content.cloneNode(!0).firstElementChild;e._x_teleport=i,i._x_teleportBack=e,e.setAttribute("data-teleport-template",!0),i.setAttribute("data-teleport-target",!0),e._x_forwardEvents&&e._x_forwardEvents.forEach(c=>{i.addEventListener(c,u=>{u.stopPropagation(),e.dispatchEvent(new u.constructor(u.type,u))})}),wt(i,{},e);let a=(c,u,s)=>{s.includes("prepend")?u.parentNode.insertBefore(c,u):s.includes("append")?u.parentNode.insertBefore(c,u.nextSibling):u.appendChild(c)};q(()=>{a(i,o,t),ue(i),i._x_ignore=!0}),e._x_teleportPutBack=()=>{let c=zo(n);q(()=>{a(e._x_teleport,c,t)})},r(()=>i.remove())});var Ls=document.createElement("div");function zo(e){let t=St(()=>document.querySelector(e),()=>Ls)();return t||ce(`Cannot find x-teleport element for selector: "${e}"`),t}var aa=()=>{};aa.inline=(e,{modifiers:t},{cleanup:n})=>{t.includes("self")?e._x_ignoreSelf=!0:e._x_ignore=!0,n(()=>{t.includes("self")?delete e._x_ignoreSelf:delete e._x_ignore})};H("ignore",aa);H("effect",St((e,{expression:t},{effect:n})=>{n(U(e,t))}));function Ar(e,t,n,r){let o=e,i=u=>r(u),a={},c=(u,s)=>l=>s(u,l);if(n.includes("dot")&&(t=Ms(t)),n.includes("camel")&&(t=Hs(t)),n.includes("passive")&&(a.passive=!0),n.includes("capture")&&(a.capture=!0),n.includes("window")&&(o=window),n.includes("document")&&(o=document),n.includes("debounce")){let u=n[n.indexOf("debounce")+1]||"invalid-wait",s=mn(u.split("ms")[0])?Number(u.split("ms")[0]):250;i=Mi(i,s)}if(n.includes("throttle")){let u=n[n.indexOf("throttle")+1]||"invalid-wait",s=mn(u.split("ms")[0])?Number(u.split("ms")[0]):250;i=Hi(i,s)}return n.includes("prevent")&&(i=c(i,(u,s)=>{s.preventDefault(),u(s)})),n.includes("stop")&&(i=c(i,(u,s)=>{s.stopPropagation(),u(s)})),n.includes("self")&&(i=c(i,(u,s)=>{s.target===e&&u(s)})),(n.includes("away")||n.includes("outside"))&&(o=document,i=c(i,(u,s)=>{e.contains(s.target)||s.target.isConnected!==!1&&(e.offsetWidth<1&&e.offsetHeight<1||e._x_isShown!==!1&&u(s))})),n.includes("once")&&(i=c(i,(u,s)=>{u(s),o.removeEventListener(t,i,a)})),i=c(i,(u,s)=>{Fs(t)&&Bs(s,n)||u(s)}),o.addEventListener(t,i,a),()=>{o.removeEventListener(t,i,a)}}function Ms(e){return e.replace(/-/g,".")}function Hs(e){return e.toLowerCase().replace(/-(\w)/g,(t,n)=>n.toUpperCase())}function mn(e){return!Array.isArray(e)&&!isNaN(e)}function qs(e){return[" ","_"].includes(e)?e:e.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[_\s]/,"-").toLowerCase()}function Fs(e){return["keydown","keyup"].includes(e)}function Bs(e,t){let n=t.filter(i=>!["window","document","prevent","stop","once","capture"].includes(i));if(n.includes("debounce")){let i=n.indexOf("debounce");n.splice(i,mn((n[i+1]||"invalid-wait").split("ms")[0])?2:1)}if(n.includes("throttle")){let i=n.indexOf("throttle");n.splice(i,mn((n[i+1]||"invalid-wait").split("ms")[0])?2:1)}if(n.length===0||n.length===1&&Jo(e.key).includes(n[0]))return!1;let o=["ctrl","shift","alt","meta","cmd","super"].filter(i=>n.includes(i));return n=n.filter(i=>!o.includes(i)),!(o.length>0&&o.filter(a=>((a==="cmd"||a==="super")&&(a="meta"),e[`${a}Key`])).length===o.length&&Jo(e.key).includes(n[0]))}function Jo(e){if(!e)return[];e=qs(e);let t={ctrl:"control",slash:"/",space:" ",spacebar:" ",cmd:"meta",esc:"escape",up:"arrow-up",down:"arrow-down",left:"arrow-left",right:"arrow-right",period:".",equal:"=",minus:"-",underscore:"_"};return t[e]=e,Object.keys(t).map(n=>{if(t[n]===e)return n}).filter(n=>n)}H("model",(e,{modifiers:t,expression:n},{effect:r,cleanup:o})=>{let i=e;t.includes("parent")&&(i=e.parentNode);let a=U(i,n),c;typeof n=="string"?c=U(i,`${n} = __placeholder`):typeof n=="function"&&typeof n()=="string"?c=U(i,`${n()} = __placeholder`):c=()=>{};let u=()=>{let p;return a(m=>p=m),Yo(p)?p.get():p},s=p=>{let m;a(g=>m=g),Yo(m)?m.set(p):c(()=>{},{scope:{__placeholder:p}})};typeof n=="string"&&e.type==="radio"&&q(()=>{e.hasAttribute("name")||e.setAttribute("name",n)});var l=e.tagName.toLowerCase()==="select"||["checkbox","radio"].includes(e.type)||t.includes("lazy")?"change":"input";let f=_e?()=>{}:Ar(e,l,t,p=>{s($s(e,t,p,u()))});if(t.includes("fill")&&([void 0,null,""].includes(u())||e.type==="checkbox"&&Array.isArray(u()))&&e.dispatchEvent(new Event(l,{})),e._x_removeModelListeners||(e._x_removeModelListeners={}),e._x_removeModelListeners.default=f,o(()=>e._x_removeModelListeners.default()),e.form){let p=Ar(e.form,"reset",[],m=>{Fr(()=>e._x_model&&e._x_model.set(e.value))});o(()=>p())}e._x_model={get(){return u()},set(p){s(p)}},e._x_forceModelUpdate=p=>{p===void 0&&typeof n=="string"&&n.match(/\./)&&(p=""),window.fromModel=!0,q(()=>Ti(e,"value",p)),delete window.fromModel},r(()=>{let p=u();t.includes("unintrusive")&&document.activeElement.isSameNode(e)||e._x_forceModelUpdate(p)})});function $s(e,t,n,r){return q(()=>{if(n instanceof CustomEvent&&n.detail!==void 0)return n.detail!==null&&n.detail!==void 0?n.detail:n.target.value;if(e.type==="checkbox")if(Array.isArray(r)){let o=null;return t.includes("number")?o=lr(n.target.value):t.includes("boolean")?o=fn(n.target.value):o=n.target.value,n.target.checked?r.concat([o]):r.filter(i=>!Us(i,o))}else return n.target.checked;else return e.tagName.toLowerCase()==="select"&&e.multiple?t.includes("number")?Array.from(n.target.selectedOptions).map(o=>{let i=o.value||o.text;return lr(i)}):t.includes("boolean")?Array.from(n.target.selectedOptions).map(o=>{let i=o.value||o.text;return fn(i)}):Array.from(n.target.selectedOptions).map(o=>o.value||o.text):t.includes("number")?lr(n.target.value):t.includes("boolean")?fn(n.target.value):t.includes("trim")?n.target.value.trim():n.target.value})}function lr(e){let t=e?parseFloat(e):null;return Vs(t)?t:e}function Us(e,t){return e==t}function Vs(e){return!Array.isArray(e)&&!isNaN(e)}function Yo(e){return e!==null&&typeof e=="object"&&typeof e.get=="function"&&typeof e.set=="function"}H("cloak",e=>queueMicrotask(()=>q(()=>e.removeAttribute(Ve("cloak")))));oi(()=>`[${Ve("init")}]`);H("init",St((e,{expression:t},{evaluate:n})=>typeof t=="string"?!!t.trim()&&n(t,{},!1):n(t,{},!1)));H("text",(e,{expression:t},{effect:n,evaluateLater:r})=>{let o=r(t);n(()=>{o(i=>{q(()=>{e.textContent=i})})})});H("html",(e,{expression:t},{effect:n,evaluateLater:r})=>{let o=r(t);n(()=>{o(i=>{q(()=>{e.innerHTML=i,e._x_ignoreSelf=!0,ue(e),delete e._x_ignoreSelf})})})});Hr(Si(":",xi(Ve("bind:"))));var ca=(e,{value:t,modifiers:n,expression:r,original:o},{effect:i})=>{if(!t){let c={};Kl(c),U(e,r)(s=>{Bi(e,s,o)},{scope:c});return}if(t==="key")return Ws(e,r);if(e._x_inlineBindings&&e._x_inlineBindings[t]&&e._x_inlineBindings[t].extract)return;let a=U(e,r);i(()=>a(c=>{c===void 0&&typeof r=="string"&&r.match(/\./)&&(c=""),q(()=>Ti(e,t,c,n))}))};ca.inline=(e,{value:t,modifiers:n,expression:r})=>{t&&(e._x_inlineBindings||(e._x_inlineBindings={}),e._x_inlineBindings[t]={expression:r,extract:!1})};H("bind",ca);function Ws(e,t){e._x_keyExpression=t}ri(()=>`[${Ve("data")}]`);H("data",(e,{expression:t},{cleanup:n})=>{if(Ks(e))return;t=t===""?"{}":t;let r={};hr(r,e);let o={};Jl(o,r);let i=Ie(e,t,{scope:o});(i===void 0||i===!0)&&(i={}),hr(i,e);let a=$e(i);mi(a);let c=wt(e,a);a.init&&Ie(e,a.init),n(()=>{a.destroy&&Ie(e,a.destroy),c()})});yn((e,t)=>{e._x_dataStack&&(t._x_dataStack=e._x_dataStack,t.setAttribute("data-has-alpine-state",!0))});function Ks(e){return _e?Sr?!0:e.hasAttribute("data-has-alpine-state"):!1}H("show",(e,{modifiers:t,expression:n},{effect:r})=>{let o=U(e,n);e._x_doHide||(e._x_doHide=()=>{q(()=>{e.style.setProperty("display","none",t.includes("important")?"important":void 0)})}),e._x_doShow||(e._x_doShow=()=>{q(()=>{e.style.length===1&&e.style.display==="none"?e.removeAttribute("style"):e.style.removeProperty("display")})});let i=()=>{e._x_doHide(),e._x_isShown=!1},a=()=>{e._x_doShow(),e._x_isShown=!0},c=()=>setTimeout(a),u=wr(f=>f?a():i(),f=>{typeof e._x_toggleAndCascadeWithTransitions=="function"?e._x_toggleAndCascadeWithTransitions(e,f,a,i):f?c():i()}),s,l=!0;r(()=>o(f=>{!l&&f===s||(t.includes("immediate")&&(f?c():i()),u(f),s=f,l=!1)}))});H("for",(e,{expression:t},{effect:n,cleanup:r})=>{let o=Js(t),i=U(e,o.items),a=U(e,e._x_keyExpression||"index");e._x_prevKeys=[],e._x_lookup={},n(()=>zs(e,o,i,a)),r(()=>{Object.values(e._x_lookup).forEach(c=>c.remove()),delete e._x_prevKeys,delete e._x_lookup})});function zs(e,t,n,r){let o=a=>typeof a=="object"&&!Array.isArray(a),i=e;n(a=>{Ys(a)&&a>=0&&(a=Array.from(Array(a).keys(),h=>h+1)),a===void 0&&(a=[]);let c=e._x_lookup,u=e._x_prevKeys,s=[],l=[];if(o(a))a=Object.entries(a).map(([h,y])=>{let _=Zo(t,y,h,a);r(w=>l.push(w),{scope:{index:h,..._}}),s.push(_)});else for(let h=0;h<a.length;h++){let y=Zo(t,a[h],h,a);r(_=>l.push(_),{scope:{index:h,...y}}),s.push(y)}let f=[],p=[],m=[],g=[];for(let h=0;h<u.length;h++){let y=u[h];l.indexOf(y)===-1&&m.push(y)}u=u.filter(h=>!m.includes(h));let v="template";for(let h=0;h<l.length;h++){let y=l[h],_=u.indexOf(y);if(_===-1)u.splice(h,0,y),f.push([v,h]);else if(_!==h){let w=u.splice(h,1)[0],O=u.splice(_-1,1)[0];u.splice(h,0,O),u.splice(_,0,w),p.push([w,O])}else g.push(y);v=y}for(let h=0;h<m.length;h++){let y=m[h];c[y]._x_effects&&c[y]._x_effects.forEach(Xo),c[y].remove(),c[y]=null,delete c[y]}for(let h=0;h<p.length;h++){let[y,_]=p[h],w=c[y],O=c[_],b=document.createElement("div");q(()=>{O||ce('x-for ":key" is undefined or invalid',i),O.after(b),w.after(O),O._x_currentIfEl&&O.after(O._x_currentIfEl),b.before(w),w._x_currentIfEl&&w.after(w._x_currentIfEl),b.remove()}),O._x_refreshXForScope(s[l.indexOf(_)])}for(let h=0;h<f.length;h++){let[y,_]=f[h],w=y==="template"?i:c[y];w._x_currentIfEl&&(w=w._x_currentIfEl);let O=s[_],b=l[_],x=document.importNode(i.content,!0).firstElementChild,A=$e(O);wt(x,A,i),x._x_refreshXForScope=N=>{Object.entries(N).forEach(([k,P])=>{A[k]=P})},q(()=>{w.after(x),ue(x)}),typeof b=="object"&&ce("x-for key cannot be an object, it must be a string or an integer",i),c[b]=x}for(let h=0;h<g.length;h++)c[g[h]]._x_refreshXForScope(s[l.indexOf(g[h])]);i._x_prevKeys=l})}function Js(e){let t=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,n=/^\s*\(|\)\s*$/g,r=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,o=e.match(r);if(!o)return;let i={};i.items=o[2].trim();let a=o[1].replace(n,"").trim(),c=a.match(t);return c?(i.item=a.replace(t,"").trim(),i.index=c[1].trim(),c[2]&&(i.collection=c[2].trim())):i.item=a,i}function Zo(e,t,n,r){let o={};return/^\[.*\]$/.test(e.item)&&Array.isArray(t)?e.item.replace("[","").replace("]","").split(",").map(a=>a.trim()).forEach((a,c)=>{o[a]=t[c]}):/^\{.*\}$/.test(e.item)&&!Array.isArray(t)&&typeof t=="object"?e.item.replace("{","").replace("}","").split(",").map(a=>a.trim()).forEach(a=>{o[a]=t[a]}):o[e.item]=t,e.index&&(o[e.index]=n),e.collection&&(o[e.collection]=r),o}function Ys(e){return!Array.isArray(e)&&!isNaN(e)}function ua(){}ua.inline=(e,{expression:t},{cleanup:n})=>{let r=hn(e);r._x_refs||(r._x_refs={}),r._x_refs[t]=e,n(()=>delete r._x_refs[t])};H("ref",ua);H("if",(e,{expression:t},{effect:n,cleanup:r})=>{e.tagName.toLowerCase()!=="template"&&ce("x-if can only be used on a <template> tag",e);let o=U(e,t),i=()=>{if(e._x_currentIfEl)return e._x_currentIfEl;let c=e.content.cloneNode(!0).firstElementChild;return wt(c,{},e),q(()=>{e.after(c),ue(c)}),e._x_currentIfEl=c,e._x_undoIf=()=>{ye(c,u=>{u._x_effects&&u._x_effects.forEach(Xo)}),c.remove(),delete e._x_currentIfEl},c},a=()=>{e._x_undoIf&&(e._x_undoIf(),delete e._x_undoIf)};n(()=>o(c=>{c?i():a()})),r(()=>e._x_undoIf&&e._x_undoIf())});H("id",(e,{expression:t},{evaluate:n})=>{n(t).forEach(o=>Rs(e,o))});yn((e,t)=>{e._x_ids&&(t._x_ids=e._x_ids)});Hr(Si("@",xi(Ve("on:"))));H("on",St((e,{value:t,modifiers:n,expression:r},{cleanup:o})=>{let i=r?U(e,r):()=>{};e.tagName.toLowerCase()==="template"&&(e._x_forwardEvents||(e._x_forwardEvents=[]),e._x_forwardEvents.includes(t)||e._x_forwardEvents.push(t));let a=Ar(e,t,n,c=>{i(()=>{},{scope:{$event:c},params:[c]})});o(()=>a())}));Sn("Collapse","collapse","collapse");Sn("Intersect","intersect","intersect");Sn("Focus","trap","focus");Sn("Mask","mask","mask");function Sn(e,t,n){H(t,r=>ce(`You can't use [x-${t}] without first installing the "${e}" plugin here: https://alpinejs.dev/plugins/${n}`,r))}xt.setEvaluator(_i);xt.setReactivityEngine({reactive:Jr,effect:os,release:is,raw:R});var Zs=xt,Et=Zs;function Xs(e){e.directive("collapse",t),t.inline=(n,{modifiers:r})=>{r.includes("min")&&(n._x_doShow=()=>{},n._x_doHide=()=>{})};function t(n,{modifiers:r}){let o=la(r,"duration",250)/1e3,i=la(r,"min",0),a=!r.includes("min");n._x_isShown||(n.style.height=`${i}px`),!n._x_isShown&&a&&(n.hidden=!0),n._x_isShown||(n.style.overflow="hidden");let c=(s,l)=>{let f=e.setStyles(s,l);return l.height?()=>{}:f},u={transitionProperty:"height",transitionDuration:`${o}s`,transitionTimingFunction:"cubic-bezier(0.4, 0.0, 0.2, 1)"};n._x_transition={in(s=()=>{},l=()=>{}){a&&(n.hidden=!1),a&&(n.style.display=null);let f=n.getBoundingClientRect().height;n.style.height="auto";let p=n.getBoundingClientRect().height;f===p&&(f=i),e.transition(n,e.setStyles,{during:u,start:{height:f+"px"},end:{height:p+"px"}},()=>n._x_isShown=!0,()=>{n.getBoundingClientRect().height==p&&(n.style.overflow=null)})},out(s=()=>{},l=()=>{}){let f=n.getBoundingClientRect().height;e.transition(n,c,{during:u,start:{height:f+"px"},end:{height:i+"px"}},()=>n.style.overflow="hidden",()=>{n._x_isShown=!1,n.style.height==`${i}px`&&a&&(n.style.display="none",n.hidden=!0)})}}}}function la(e,t,n){if(e.indexOf(t)===-1)return n;let r=e[e.indexOf(t)+1];if(!r)return n;if(t==="duration"){let o=r.match(/([0-9]+)ms/);if(o)return o[1]}if(t==="min"){let o=r.match(/([0-9]+)px/);if(o)return o[1]}return r}var sa=Xs;function fa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function I(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?fa(Object(n),!0).forEach(function(r){Qs(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fa(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Wt(e){return Wt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Wt(e)}function Qs(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function io(){return io=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},io.apply(this,arguments)}function Gs(e,t){if(e==null)return{};var n,r,o=function(a,c){if(a==null)return{};var u,s,l={},f=Object.keys(a);for(s=0;s<f.length;s++)u=f[s],c.indexOf(u)>=0||(l[u]=a[u]);return l}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Ze(e,t){return function(n){if(Array.isArray(n))return n}(e)||function(n,r){var o=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(o!=null){var i,a,c=[],u=!0,s=!1;try{for(o=o.call(n);!(u=(i=o.next()).done)&&(c.push(i.value),!r||c.length!==r);u=!0);}catch(l){s=!0,a=l}finally{try{u||o.return==null||o.return()}finally{if(s)throw a}}return c}}(e,t)||wc(e,t)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Hn(e){return function(t){if(Array.isArray(t))return ao(t)}(e)||function(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}(e)||wc(e)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function wc(e,t){if(e){if(typeof e=="string")return ao(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ao(e,t):void 0}}function ao(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var S,Ct,Oc,pa,Sc,qn={},bo=[],ef=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function le(e,t){for(var n in t)e[n]=t[n];return e}function xc(e){var t=e.parentNode;t&&t.removeChild(e)}function re(e,t,n){var r,o,i,a=arguments,c={};for(i in t)i=="key"?r=t[i]:i=="ref"?o=t[i]:c[i]=t[i];if(arguments.length>3)for(n=[n],i=3;i<arguments.length;i++)n.push(a[i]);if(n!=null&&(c.children=n),typeof e=="function"&&e.defaultProps!=null)for(i in e.defaultProps)c[i]===void 0&&(c[i]=e.defaultProps[i]);return Dt(e,c,r,o,null)}function Dt(e,t,n,r,o){var i={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:o??++S.__v};return S.vnode!=null&&S.vnode(i),i}function Oe(e){return e.children}function oe(e,t){this.props=e,this.context=t}function Kt(e,t){if(t==null)return e.__?Kt(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__e;return typeof e.type=="function"?Kt(e):null}function Ec(e){var t,n;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null){e.__e=e.__c.base=n.__e;break}return Ec(e)}}function co(e){(!e.__d&&(e.__d=!0)&&Ct.push(e)&&!Fn.__r++||pa!==S.debounceRendering)&&((pa=S.debounceRendering)||Oc)(Fn)}function Fn(){for(var e;Fn.__r=Ct.length;)e=Ct.sort(function(t,n){return t.__v.__b-n.__v.__b}),Ct=[],e.some(function(t){var n,r,o,i,a,c;t.__d&&(a=(i=(n=t).__v).__e,(c=n.__P)&&(r=[],(o=le({},i)).__v=i.__v+1,wo(c,i,o,n.__n,c.ownerSVGElement!==void 0,i.__h!=null?[a]:null,r,a??Kt(i),i.__h),Ic(r,i),i.__e!=a&&Ec(i)))})}function jc(e,t,n,r,o,i,a,c,u,s){var l,f,p,m,g,v,h,y=r&&r.__k||bo,_=y.length;for(n.__k=[],l=0;l<t.length;l++)if((m=n.__k[l]=(m=t[l])==null||typeof m=="boolean"?null:typeof m=="string"||typeof m=="number"?Dt(null,m,null,null,m):Array.isArray(m)?Dt(Oe,{children:m},null,null,null):m.__b>0?Dt(m.type,m.props,m.key,null,m.__v):m)!=null){if(m.__=n,m.__b=n.__b+1,(p=y[l])===null||p&&m.key==p.key&&m.type===p.type)y[l]=void 0;else for(f=0;f<_;f++){if((p=y[f])&&m.key==p.key&&m.type===p.type){y[f]=void 0;break}p=null}wo(e,m,p=p||qn,o,i,a,c,u,s),g=m.__e,(f=m.ref)&&p.ref!=f&&(h||(h=[]),p.ref&&h.push(p.ref,null,m),h.push(f,m.__c||g,m)),g!=null?(v==null&&(v=g),typeof m.type=="function"&&m.__k!=null&&m.__k===p.__k?m.__d=u=Ac(m,u,e):u=Pc(e,m,p,y,g,u),s||n.type!=="option"?typeof n.type=="function"&&(n.__d=u):e.value=""):u&&p.__e==u&&u.parentNode!=e&&(u=Kt(p))}for(n.__e=v,l=_;l--;)y[l]!=null&&(typeof n.type=="function"&&y[l].__e!=null&&y[l].__e==n.__d&&(n.__d=Kt(r,l+1)),Dc(y[l],y[l]));if(h)for(l=0;l<h.length;l++)Cc(h[l],h[++l],h[++l])}function Ac(e,t,n){var r,o;for(r=0;r<e.__k.length;r++)(o=e.__k[r])&&(o.__=e,t=typeof o.type=="function"?Ac(o,t,n):Pc(n,o,o,e.__k,o.__e,t));return t}function se(e,t){return t=t||[],e==null||typeof e=="boolean"||(Array.isArray(e)?e.some(function(n){se(n,t)}):t.push(e)),t}function Pc(e,t,n,r,o,i){var a,c,u;if(t.__d!==void 0)a=t.__d,t.__d=void 0;else if(n==null||o!=i||o.parentNode==null)e:if(i==null||i.parentNode!==e)e.appendChild(o),a=null;else{for(c=i,u=0;(c=c.nextSibling)&&u<r.length;u+=2)if(c==o)break e;e.insertBefore(o,i),a=i}return a!==void 0?a:o.nextSibling}function da(e,t,n){t[0]==="-"?e.setProperty(t,n):e[t]=n==null?"":typeof n!="number"||ef.test(t)?n:n+"px"}function xn(e,t,n,r,o){var i;e:if(t==="style")if(typeof n=="string")e.style.cssText=n;else{if(typeof r=="string"&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||da(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||da(e.style,t,n[t])}else if(t[0]==="o"&&t[1]==="n")i=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r||e.addEventListener(t,i?ha:ma,i):e.removeEventListener(t,i?ha:ma,i);else if(t!=="dangerouslySetInnerHTML"){if(o)t=t.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if(t!=="href"&&t!=="list"&&t!=="form"&&t!=="download"&&t in e)try{e[t]=n??"";break e}catch{}typeof n=="function"||(n!=null&&(n!==!1||t[0]==="a"&&t[1]==="r")?e.setAttribute(t,n):e.removeAttribute(t))}}function ma(e){this.l[e.type+!1](S.event?S.event(e):e)}function ha(e){this.l[e.type+!0](S.event?S.event(e):e)}function wo(e,t,n,r,o,i,a,c,u){var s,l,f,p,m,g,v,h,y,_,w,O=t.type;if(t.constructor!==void 0)return null;n.__h!=null&&(u=n.__h,c=t.__e=n.__e,t.__h=null,i=[c]),(s=S.__b)&&s(t);try{e:if(typeof O=="function"){if(h=t.props,y=(s=O.contextType)&&r[s.__c],_=s?y?y.props.value:s.__:r,n.__c?v=(l=t.__c=n.__c).__=l.__E:("prototype"in O&&O.prototype.render?t.__c=l=new O(h,_):(t.__c=l=new oe(h,_),l.constructor=O,l.render=nf),y&&y.sub(l),l.props=h,l.state||(l.state={}),l.context=_,l.__n=r,f=l.__d=!0,l.__h=[]),l.__s==null&&(l.__s=l.state),O.getDerivedStateFromProps!=null&&(l.__s==l.state&&(l.__s=le({},l.__s)),le(l.__s,O.getDerivedStateFromProps(h,l.__s))),p=l.props,m=l.state,f)O.getDerivedStateFromProps==null&&l.componentWillMount!=null&&l.componentWillMount(),l.componentDidMount!=null&&l.__h.push(l.componentDidMount);else{if(O.getDerivedStateFromProps==null&&h!==p&&l.componentWillReceiveProps!=null&&l.componentWillReceiveProps(h,_),!l.__e&&l.shouldComponentUpdate!=null&&l.shouldComponentUpdate(h,l.__s,_)===!1||t.__v===n.__v){l.props=h,l.state=l.__s,t.__v!==n.__v&&(l.__d=!1),l.__v=t,t.__e=n.__e,t.__k=n.__k,l.__h.length&&a.push(l);break e}l.componentWillUpdate!=null&&l.componentWillUpdate(h,l.__s,_),l.componentDidUpdate!=null&&l.__h.push(function(){l.componentDidUpdate(p,m,g)})}l.context=_,l.props=h,l.state=l.__s,(s=S.__r)&&s(t),l.__d=!1,l.__v=t,l.__P=e,s=l.render(l.props,l.state,l.context),l.state=l.__s,l.getChildContext!=null&&(r=le(le({},r),l.getChildContext())),f||l.getSnapshotBeforeUpdate==null||(g=l.getSnapshotBeforeUpdate(p,m)),w=s!=null&&s.type===Oe&&s.key==null?s.props.children:s,jc(e,Array.isArray(w)?w:[w],t,n,r,o,i,a,c,u),l.base=t.__e,t.__h=null,l.__h.length&&a.push(l),v&&(l.__E=l.__=null),l.__e=!1}else i==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=tf(n.__e,t,n,r,o,i,a,u);(s=S.diffed)&&s(t)}catch(b){t.__v=null,(u||i!=null)&&(t.__e=c,t.__h=!!u,i[i.indexOf(c)]=null),S.__e(b,t,n)}}function Ic(e,t){S.__c&&S.__c(t,e),e.some(function(n){try{e=n.__h,n.__h=[],e.some(function(r){r.call(n)})}catch(r){S.__e(r,n.__v)}})}function tf(e,t,n,r,o,i,a,c){var u,s,l,f,p=n.props,m=t.props,g=t.type,v=0;if(g==="svg"&&(o=!0),i!=null){for(;v<i.length;v++)if((u=i[v])&&(u===e||(g?u.localName==g:u.nodeType==3))){e=u,i[v]=null;break}}if(e==null){if(g===null)return document.createTextNode(m);e=o?document.createElementNS("http://www.w3.org/2000/svg",g):document.createElement(g,m.is&&m),i=null,c=!1}if(g===null)p===m||c&&e.data===m||(e.data=m);else{if(i=i&&bo.slice.call(e.childNodes),s=(p=n.props||qn).dangerouslySetInnerHTML,l=m.dangerouslySetInnerHTML,!c){if(i!=null)for(p={},f=0;f<e.attributes.length;f++)p[e.attributes[f].name]=e.attributes[f].value;(l||s)&&(l&&(s&&l.__html==s.__html||l.__html===e.innerHTML)||(e.innerHTML=l&&l.__html||""))}if(function(h,y,_,w,O){var b;for(b in _)b==="children"||b==="key"||b in y||xn(h,b,null,_[b],w);for(b in y)O&&typeof y[b]!="function"||b==="children"||b==="key"||b==="value"||b==="checked"||_[b]===y[b]||xn(h,b,y[b],_[b],w)}(e,m,p,o,c),l)t.__k=[];else if(v=t.props.children,jc(e,Array.isArray(v)?v:[v],t,n,r,o&&g!=="foreignObject",i,a,e.firstChild,c),i!=null)for(v=i.length;v--;)i[v]!=null&&xc(i[v]);c||("value"in m&&(v=m.value)!==void 0&&(v!==e.value||g==="progress"&&!v)&&xn(e,"value",v,p.value,!1),"checked"in m&&(v=m.checked)!==void 0&&v!==e.checked&&xn(e,"checked",v,p.checked,!1))}return e}function Cc(e,t,n){try{typeof e=="function"?e(t):e.current=t}catch(r){S.__e(r,n)}}function Dc(e,t,n){var r,o,i;if(S.unmount&&S.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||Cc(r,null,t)),n||typeof e.type=="function"||(n=(o=e.__e)!=null),e.__e=e.__d=void 0,(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(a){S.__e(a,t)}r.base=r.__P=null}if(r=e.__k)for(i=0;i<r.length;i++)r[i]&&Dc(r[i],t,n);o!=null&&xc(o)}function nf(e,t,n){return this.constructor(e,n)}function zt(e,t,n){var r,o,i;S.__&&S.__(e,t),o=(r=typeof n=="function")?null:n&&n.__k||t.__k,i=[],wo(t,e=(!r&&n||t).__k=re(Oe,null,[e]),o||qn,qn,t.ownerSVGElement!==void 0,!r&&n?[n]:o?null:t.firstChild?bo.slice.call(t.childNodes):null,i,!r&&n?n:o?o.__e:t.firstChild,r),Ic(i,e)}function kc(e,t){zt(e,t,kc)}function rf(e,t,n){var r,o,i,a=arguments,c=le({},e.props);for(i in t)i=="key"?r=t[i]:i=="ref"?o=t[i]:c[i]=t[i];if(arguments.length>3)for(n=[n],i=3;i<arguments.length;i++)n.push(a[i]);return n!=null&&(c.children=n),Dt(e.type,c,r||e.key,o||e.ref,null)}S={__e:function(e,t){for(var n,r,o;t=t.__;)if((n=t.__c)&&!n.__)try{if((r=n.constructor)&&r.getDerivedStateFromError!=null&&(n.setState(r.getDerivedStateFromError(e)),o=n.__d),n.componentDidCatch!=null&&(n.componentDidCatch(e),o=n.__d),o)return n.__E=n}catch(i){e=i}throw e},__v:0},oe.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=le({},this.state),typeof e=="function"&&(e=e(le({},n),this.props)),e&&le(n,e),e!=null&&this.__v&&(t&&this.__h.push(t),co(this))},oe.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),co(this))},oe.prototype.render=Oe,Ct=[],Oc=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Fn.__r=0,Sc=0;var rt,V,ga,Ge=0,uo=[],va=S.__b,ya=S.__r,_a=S.diffed,ba=S.__c,wa=S.unmount;function Yt(e,t){S.__h&&S.__h(V,e,Ge||t),Ge=0;var n=V.__H||(V.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function Tc(e){return Ge=1,Rc(Lc,e)}function Rc(e,t,n){var r=Yt(rt++,2);return r.t=e,r.__c||(r.__=[n?n(t):Lc(void 0,t),function(o){var i=r.t(r.__[0],o);r.__[0]!==i&&(r.__=[i,r.__[1]],r.__c.setState({}))}],r.__c=V),r.__}function Nc(e,t){var n=Yt(rt++,3);!S.__s&&Oo(n.__H,t)&&(n.__=e,n.__H=t,V.__H.__h.push(n))}function Oa(e,t){var n=Yt(rt++,4);!S.__s&&Oo(n.__H,t)&&(n.__=e,n.__H=t,V.__h.push(n))}function Yr(e,t){var n=Yt(rt++,7);return Oo(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function of(){uo.forEach(function(e){if(e.__P)try{e.__H.__h.forEach(Rn),e.__H.__h.forEach(lo),e.__H.__h=[]}catch(t){e.__H.__h=[],S.__e(t,e.__v)}}),uo=[]}S.__b=function(e){V=null,va&&va(e)},S.__r=function(e){ya&&ya(e),rt=0;var t=(V=e.__c).__H;t&&(t.__h.forEach(Rn),t.__h.forEach(lo),t.__h=[])},S.diffed=function(e){_a&&_a(e);var t=e.__c;t&&t.__H&&t.__H.__h.length&&(uo.push(t)!==1&&ga===S.requestAnimationFrame||((ga=S.requestAnimationFrame)||function(n){var r,o=function(){clearTimeout(i),Sa&&cancelAnimationFrame(r),setTimeout(n)},i=setTimeout(o,100);Sa&&(r=requestAnimationFrame(o))})(of)),V=void 0},S.__c=function(e,t){t.some(function(n){try{n.__h.forEach(Rn),n.__h=n.__h.filter(function(r){return!r.__||lo(r)})}catch(r){t.some(function(o){o.__h&&(o.__h=[])}),t=[],S.__e(r,n.__v)}}),ba&&ba(e,t)},S.unmount=function(e){wa&&wa(e);var t=e.__c;if(t&&t.__H)try{t.__H.__.forEach(Rn)}catch(n){S.__e(n,t.__v)}};var Sa=typeof requestAnimationFrame=="function";function Rn(e){var t=V;typeof e.__c=="function"&&e.__c(),V=t}function lo(e){var t=V;e.__c=e.__(),V=t}function Oo(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function Lc(e,t){return typeof t=="function"?t(e):t}function Mc(e,t){for(var n in t)e[n]=t[n];return e}function so(e,t){for(var n in e)if(n!=="__source"&&!(n in t))return!0;for(var r in t)if(r!=="__source"&&e[r]!==t[r])return!0;return!1}function fo(e){this.props=e}(fo.prototype=new oe).isPureReactComponent=!0,fo.prototype.shouldComponentUpdate=function(e,t){return so(this.props,e)||so(this.state,t)};var xa=S.__b;S.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),xa&&xa(e)};var af=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911,Ea=function(e,t){return e==null?null:se(se(e).map(t))},cf={map:Ea,forEach:Ea,count:function(e){return e?se(e).length:0},only:function(e){var t=se(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:se},uf=S.__e;function Nn(){this.__u=0,this.t=null,this.__b=null}function Hc(e){var t=e.__.__c;return t&&t.__e&&t.__e(e)}function Pt(){this.u=null,this.o=null}S.__e=function(e,t,n){if(e.then){for(var r,o=t;o=o.__;)if((r=o.__c)&&r.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),r.__c(e,t)}uf(e,t,n)},(Nn.prototype=new oe).__c=function(e,t){var n=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=Hc(r.__v),i=!1,a=function(){i||(i=!0,n.componentWillUnmount=n.__c,o?o(c):c())};n.__c=n.componentWillUnmount,n.componentWillUnmount=function(){a(),n.__c&&n.__c()};var c=function(){if(!--r.__u){if(r.state.__e){var s=r.state.__e;r.__v.__k[0]=function f(p,m,g){return p&&(p.__v=null,p.__k=p.__k&&p.__k.map(function(v){return f(v,m,g)}),p.__c&&p.__c.__P===m&&(p.__e&&g.insertBefore(p.__e,p.__d),p.__c.__e=!0,p.__c.__P=g)),p}(s,s.__c.__P,s.__c.__O)}var l;for(r.setState({__e:r.__b=null});l=r.t.pop();)l.forceUpdate()}},u=t.__h===!0;r.__u++||u||r.setState({__e:r.__b=r.__v.__k[0]}),e.then(a,a)},Nn.prototype.componentWillUnmount=function(){this.t=[]},Nn.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=function i(a,c,u){return a&&(a.__c&&a.__c.__H&&(a.__c.__H.__.forEach(function(s){typeof s.__c=="function"&&s.__c()}),a.__c.__H=null),(a=Mc({},a)).__c!=null&&(a.__c.__P===u&&(a.__c.__P=c),a.__c=null),a.__k=a.__k&&a.__k.map(function(s){return i(s,c,u)})),a}(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__e&&re(Oe,null,e.fallback);return o&&(o.__h=null),[re(Oe,null,t.__e?null:e.children),o]};var ja=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function lf(e){return this.getChildContext=function(){return e.context},e.children}function sf(e){var t=this,n=e.i;t.componentWillUnmount=function(){zt(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),e.__v?(t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(r){this.childNodes.push(r),t.i.appendChild(r)},insertBefore:function(r,o){this.childNodes.push(r),t.i.appendChild(r)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),t.i.removeChild(r)}}),zt(re(lf,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}function qc(e,t){return re(sf,{__v:e,i:t})}(Pt.prototype=new oe).__e=function(e){var t=this,n=Hc(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),ja(t,e,r)):o()};n?n(i):i()}},Pt.prototype.render=function(e){this.u=null,this.o=new Map;var t=se(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},Pt.prototype.componentDidUpdate=Pt.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){ja(e,n,t)})};var Fc=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,ff=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,pf=function(e){return(typeof Symbol<"u"&&Wt(Symbol())=="symbol"?/fil|che|rad/i:/fil|che|ra/i).test(e)};function Bc(e,t,n){return t.__k==null&&(t.textContent=""),zt(e,t),typeof n=="function"&&n(),e?e.__c:null}oe.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(oe.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Aa=S.event;function df(){}function mf(){return this.cancelBubble}function hf(){return this.defaultPrevented}S.event=function(e){return Aa&&(e=Aa(e)),e.persist=df,e.isPropagationStopped=mf,e.isDefaultPrevented=hf,e.nativeEvent=e};var $c,Pa={configurable:!0,get:function(){return this.class}},Ia=S.vnode;S.vnode=function(e){var t=e.type,n=e.props,r=n;if(typeof t=="string"){for(var o in r={},n){var i=n[o];o==="value"&&"defaultValue"in n&&i==null||(o==="defaultValue"&&"value"in n&&n.value==null?o="value":o==="download"&&i===!0?i="":/ondoubleclick/i.test(o)?o="ondblclick":/^onchange(textarea|input)/i.test(o+t)&&!pf(n.type)?o="oninput":/^on(Ani|Tra|Tou|BeforeInp)/.test(o)?o=o.toLowerCase():ff.test(o)?o=o.replace(/[A-Z0-9]/,"-$&").toLowerCase():i===null&&(i=void 0),r[o]=i)}t=="select"&&r.multiple&&Array.isArray(r.value)&&(r.value=se(n.children).forEach(function(a){a.props.selected=r.value.indexOf(a.props.value)!=-1})),t=="select"&&r.defaultValue!=null&&(r.value=se(n.children).forEach(function(a){a.props.selected=r.multiple?r.defaultValue.indexOf(a.props.value)!=-1:r.defaultValue==a.props.value})),e.props=r}t&&n.class!=n.className&&(Pa.enumerable="className"in n,n.className!=null&&(r.class=n.className),Object.defineProperty(r,"className",Pa)),e.$$typeof=Fc,Ia&&Ia(e)};var Ca=S.__r;S.__r=function(e){Ca&&Ca(e),$c=e.__c};var gf={ReactCurrentDispatcher:{current:{readContext:function(e){return $c.__n[e.__c].props.value}}}};(typeof performance>"u"?"undefined":Wt(performance))=="object"&&typeof performance.now=="function"&&performance.now.bind(performance);function Da(e){return!!e&&e.$$typeof===Fc}var d={useState:Tc,useReducer:Rc,useEffect:Nc,useLayoutEffect:Oa,useRef:function(e){return Ge=5,Yr(function(){return{current:e}},[])},useImperativeHandle:function(e,t,n){Ge=6,Oa(function(){typeof e=="function"?e(t()):e&&(e.current=t())},n==null?n:n.concat(e))},useMemo:Yr,useCallback:function(e,t){return Ge=8,Yr(function(){return e},t)},useContext:function(e){var t=V.context[e.__c],n=Yt(rt++,9);return n.__c=e,t?(n.__==null&&(n.__=!0,t.sub(V)),t.props.value):e.__},useDebugValue:function(e,t){S.useDebugValue&&S.useDebugValue(t?t(e):e)},version:"16.8.0",Children:cf,render:Bc,hydrate:function(e,t,n){return kc(e,t),typeof n=="function"&&n(),e?e.__c:null},unmountComponentAtNode:function(e){return!!e.__k&&(zt(null,e),!0)},createPortal:qc,createElement:re,createContext:function(e,t){var n={__c:t="__cC"+Sc++,__:e,Consumer:function(r,o){return r.children(o)},Provider:function(r){var o,i;return this.getChildContext||(o=[],(i={})[t]=this,this.getChildContext=function(){return i},this.shouldComponentUpdate=function(a){this.props.value!==a.value&&o.some(co)},this.sub=function(a){o.push(a);var c=a.componentWillUnmount;a.componentWillUnmount=function(){o.splice(o.indexOf(a),1),c&&c.call(a)}}),r.children}};return n.Provider.__=n.Consumer.contextType=n},createFactory:function(e){return re.bind(null,e)},cloneElement:function(e){return Da(e)?rf.apply(null,arguments):e},createRef:function(){return{current:null}},Fragment:Oe,isValidElement:Da,findDOMNode:function(e){return e&&(e.base||e.nodeType===1&&e)||null},Component:oe,PureComponent:fo,memo:function(e,t){function n(o){var i=this.props.ref,a=i==o.ref;return!a&&i&&(i.call?i(null):i.current=null),t?!t(this.props,o)||!a:so(this.props,o)}function r(o){return this.shouldComponentUpdate=n,re(e,o)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r},forwardRef:function(e){function t(n,r){var o=Mc({},n);return delete o.ref,e(o,(r=n.ref||r)&&(Wt(r)!="object"||"current"in r)?r:null)}return t.$$typeof=af,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t},unstable_batchedUpdates:function(e,t){return e(t)},StrictMode:Oe,Suspense:Nn,SuspenseList:Pt,lazy:function(e){var t,n,r;function o(i){if(t||(t=e()).then(function(a){n=a.default||a},function(a){r=a}),r)throw r;if(!n)throw t;return re(n,i)}return o.displayName="Lazy",o.__f=!0,o},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:gf};function vf(){return d.createElement("svg",{width:"15",height:"15",className:"DocSearch-Control-Key-Icon"},d.createElement("path",{d:"M4.505 4.496h2M5.505 5.496v5M8.216 4.496l.055 5.993M10 7.5c.333.333.5.667.5 1v2M12.326 4.5v5.996M8.384 4.496c1.674 0 2.116 0 2.116 1.5s-.442 1.5-2.116 1.5M3.205 9.303c-.09.448-.277 1.21-1.241 1.203C1 10.5.5 9.513.5 8V7c0-1.57.5-2.5 1.464-2.494.964.006 1.134.598 1.24 1.342M12.553 10.5h1.953",strokeWidth:"1.2",stroke:"currentColor",fill:"none",strokeLinecap:"square"}))}function Uc(){return d.createElement("svg",{width:"20",height:"20",className:"DocSearch-Search-Icon",viewBox:"0 0 20 20"},d.createElement("path",{d:"M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}))}var yf=["translations"];function po(){return po=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},po.apply(this,arguments)}function _f(e,t){return function(n){if(Array.isArray(n))return n}(e)||function(n,r){var o=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(o!=null){var i,a,c=[],u=!0,s=!1;try{for(o=o.call(n);!(u=(i=o.next()).done)&&(c.push(i.value),!r||c.length!==r);u=!0);}catch(l){s=!0,a=l}finally{try{u||o.return==null||o.return()}finally{if(s)throw a}}return c}}(e,t)||function(n,r){if(n){if(typeof n=="string")return ka(n,r);var o=Object.prototype.toString.call(n).slice(8,-1);if(o==="Object"&&n.constructor&&(o=n.constructor.name),o==="Map"||o==="Set")return Array.from(n);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return ka(n,r)}}(e,t)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function ka(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function bf(e,t){if(e==null)return{};var n,r,o=function(a,c){if(a==null)return{};var u,s,l={},f=Object.keys(a);for(s=0;s<f.length;s++)u=f[s],c.indexOf(u)>=0||(l[u]=a[u]);return l}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var wf=d.forwardRef(function(e,t){var n=e.translations,r=n===void 0?{}:n,o=bf(e,yf),i=r.buttonText,a=i===void 0?"Search":i,c=r.buttonAriaLabel,u=c===void 0?"Search":c,s=_f(Tc(null),2),l=s[0],f=s[1];return Nc(function(){typeof navigator<"u"&&(/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?f("\u2318"):f("Ctrl"))},[]),d.createElement("button",po({type:"button",className:"DocSearch DocSearch-Button","aria-label":u},o,{ref:t}),d.createElement("span",{className:"DocSearch-Button-Container"},d.createElement(Uc,null),d.createElement("span",{className:"DocSearch-Button-Placeholder"},a)),d.createElement("span",{className:"DocSearch-Button-Keys"},l!==null&&d.createElement(d.Fragment,null,d.createElement("kbd",{className:"DocSearch-Button-Key"},l==="Ctrl"?d.createElement(vf,null):l),d.createElement("kbd",{className:"DocSearch-Button-Key"},"K"))))});function Vc(e,t){var n=void 0;return function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];n&&clearTimeout(n),n=setTimeout(function(){return e.apply(void 0,o)},t)}}function Of(e,t){return function(n){if(Array.isArray(n))return n}(e)||function(n,r){var o=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(o!=null){var i,a,c,u,s=[],l=!0,f=!1;try{if(c=(o=o.call(n)).next,r===0){if(Object(o)!==o)return;l=!1}else for(;!(l=(i=c.call(o)).done)&&(s.push(i.value),s.length!==r);l=!0);}catch(p){f=!0,a=p}finally{try{if(!l&&o.return!=null&&(u=o.return(),Object(u)!==u))return}finally{if(f)throw a}}return s}}(e,t)||function(n,r){if(n){if(typeof n=="string")return Ta(n,r);var o=Object.prototype.toString.call(n).slice(8,-1);if(o==="Object"&&n.constructor&&(o=n.constructor.name),o==="Map"||o==="Set")return Array.from(n);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return Ta(n,r)}}(e,t)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Ta(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Bn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new Set;return e;var n}function Jt(e){return e.reduce(function(t,n){return t.concat(n)},[])}var Sf=0;function mo(e){return e.collections.length===0?0:e.collections.reduce(function(t,n){return t+n.items.length},0)}function Ra(e){return e!==Object(e)}function Wc(e,t){if(e===t)return!0;if(Ra(e)||Ra(t)||typeof e=="function"||typeof t=="function")return e===t;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n=0,r=Object.keys(e);n<r.length;n++){var o=r[n];if(!(o in t)||!Wc(e[o],t[o]))return!1}return!0}var $n=function(){},xf=[{segment:"autocomplete-core",version:"1.9.3"}];function Na(e){var t=e.item,n=e.items;return{index:t.__autocomplete_indexName,items:[t],positions:[1+n.findIndex(function(r){return r.objectID===t.objectID})],queryID:t.__autocomplete_queryID,algoliaSource:["autocomplete"]}}function Ef(e,t){return function(n){if(Array.isArray(n))return n}(e)||function(n,r){var o=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(o!=null){var i,a,c,u,s=[],l=!0,f=!1;try{if(c=(o=o.call(n)).next,r===0){if(Object(o)!==o)return;l=!1}else for(;!(l=(i=c.call(o)).done)&&(s.push(i.value),s.length!==r);l=!0);}catch(p){f=!0,a=p}finally{try{if(!l&&o.return!=null&&(u=o.return(),Object(u)!==u))return}finally{if(f)throw a}}return s}}(e,t)||function(n,r){if(n){if(typeof n=="string")return La(n,r);var o=Object.prototype.toString.call(n).slice(8,-1);if(o==="Object"&&n.constructor&&(o=n.constructor.name),o==="Map"||o==="Set")return Array.from(n);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return La(n,r)}}(e,t)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function La(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var jf=["items"],Af=["items"];function kt(e){return kt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},kt(e)}function En(e){return function(t){if(Array.isArray(t))return Zr(t)}(e)||function(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}(e)||function(t,n){if(t){if(typeof t=="string")return Zr(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Zr(t,n)}}(e)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Zr(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Kc(e,t){if(e==null)return{};var n,r,o=function(a,c){if(a==null)return{};var u,s,l={},f=Object.keys(a);for(s=0;s<f.length;s++)u=f[s],c.indexOf(u)>=0||(l[u]=a[u]);return l}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Ma(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function nt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ma(Object(n),!0).forEach(function(r){Pf(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ma(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Pf(e,t,n){return(t=function(r){var o=function(i,a){if(kt(i)!=="object"||i===null)return i;var c=i[Symbol.toPrimitive];if(c!==void 0){var u=c.call(i,a||"default");if(kt(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(i)}(r,"string");return kt(o)==="symbol"?o:String(o)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function If(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:20,n=[],r=0;r<e.objectIDs.length;r+=t)n.push(nt(nt({},e),{},{objectIDs:e.objectIDs.slice(r,r+t)}));return n}function jn(e){return e.map(function(t){var n=t.items,r=Kc(t,jf);return nt(nt({},r),{},{objectIDs:n?.map(function(o){return o.objectID})||r.objectIDs})})}function Cf(e){var t,n,r,o=(t=Ef((e.version||"").split(".").map(Number),2),n=t[0],r=t[1],n>=3||n===2&&r>=4||n===1&&r>=10);function i(a,c,u){if(o&&u!==void 0){var s=u[0].__autocomplete_algoliaCredentials,l={"X-Algolia-Application-Id":s.appId,"X-Algolia-API-Key":s.apiKey};e.apply(void 0,[a].concat(En(c),[{headers:l}]))}else e.apply(void 0,[a].concat(En(c)))}return{init:function(a,c){e("init",{appId:a,apiKey:c})},setUserToken:function(a){e("setUserToken",a)},clickedObjectIDsAfterSearch:function(){for(var a=arguments.length,c=new Array(a),u=0;u<a;u++)c[u]=arguments[u];c.length>0&&i("clickedObjectIDsAfterSearch",jn(c),c[0].items)},clickedObjectIDs:function(){for(var a=arguments.length,c=new Array(a),u=0;u<a;u++)c[u]=arguments[u];c.length>0&&i("clickedObjectIDs",jn(c),c[0].items)},clickedFilters:function(){for(var a=arguments.length,c=new Array(a),u=0;u<a;u++)c[u]=arguments[u];c.length>0&&e.apply(void 0,["clickedFilters"].concat(c))},convertedObjectIDsAfterSearch:function(){for(var a=arguments.length,c=new Array(a),u=0;u<a;u++)c[u]=arguments[u];c.length>0&&i("convertedObjectIDsAfterSearch",jn(c),c[0].items)},convertedObjectIDs:function(){for(var a=arguments.length,c=new Array(a),u=0;u<a;u++)c[u]=arguments[u];c.length>0&&i("convertedObjectIDs",jn(c),c[0].items)},convertedFilters:function(){for(var a=arguments.length,c=new Array(a),u=0;u<a;u++)c[u]=arguments[u];c.length>0&&e.apply(void 0,["convertedFilters"].concat(c))},viewedObjectIDs:function(){for(var a=arguments.length,c=new Array(a),u=0;u<a;u++)c[u]=arguments[u];c.length>0&&c.reduce(function(s,l){var f=l.items,p=Kc(l,Af);return[].concat(En(s),En(If(nt(nt({},p),{},{objectIDs:f?.map(function(m){return m.objectID})||p.objectIDs})).map(function(m){return{items:f,payload:m}})))},[]).forEach(function(s){var l=s.items;return i("viewedObjectIDs",[s.payload],l)})},viewedFilters:function(){for(var a=arguments.length,c=new Array(a),u=0;u<a;u++)c[u]=arguments[u];c.length>0&&e.apply(void 0,["viewedFilters"].concat(c))}}}function Df(e){var t=e.items.reduce(function(n,r){var o;return n[r.__autocomplete_indexName]=((o=n[r.__autocomplete_indexName])!==null&&o!==void 0?o:[]).concat(r),n},{});return Object.keys(t).map(function(n){return{index:n,items:t[n],algoliaSource:["autocomplete"]}})}function Xr(e){return e.objectID&&e.__autocomplete_indexName&&e.__autocomplete_queryID}function Tt(e){return Tt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Tt(e)}function We(e){return function(t){if(Array.isArray(t))return Qr(t)}(e)||function(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}(e)||function(t,n){if(t){if(typeof t=="string")return Qr(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Qr(t,n)}}(e)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Qr(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ha(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function we(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ha(Object(n),!0).forEach(function(r){kf(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ha(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function kf(e,t,n){return(t=function(r){var o=function(i,a){if(Tt(i)!=="object"||i===null)return i;var c=i[Symbol.toPrimitive];if(c!==void 0){var u=c.call(i,a||"default");if(Tt(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(i)}(r,"string");return Tt(o)==="symbol"?o:String(o)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Tf="https://cdn.jsdelivr.net/npm/search-insights@".concat("2.6.0","/dist/search-insights.min.js"),Rf=Vc(function(e){var t=e.onItemsChange,n=e.items,r=e.insights,o=e.state;t({insights:r,insightsEvents:Df({items:n}).map(function(i){return we({eventName:"Items Viewed"},i)}),state:o})},400);function Nf(e){var t=function(l){return we({onItemsChange:function(f){var p=f.insights,m=f.insightsEvents;p.viewedObjectIDs.apply(p,We(m.map(function(g){return we(we({},g),{},{algoliaSource:[].concat(We(g.algoliaSource||[]),["autocomplete-internal"])})})))},onSelect:function(f){var p=f.insights,m=f.insightsEvents;p.clickedObjectIDsAfterSearch.apply(p,We(m.map(function(g){return we(we({},g),{},{algoliaSource:[].concat(We(g.algoliaSource||[]),["autocomplete-internal"])})})))},onActive:$n},l)}(e),n=t.insightsClient,r=t.onItemsChange,o=t.onSelect,i=t.onActive,a=n;n||function(l){typeof window<"u"&&l({window})}(function(l){var f=l.window,p=f.AlgoliaAnalyticsObject||"aa";typeof p=="string"&&(a=f[p]),a||(f.AlgoliaAnalyticsObject=p,f[p]||(f[p]=function(){f[p].queue||(f[p].queue=[]);for(var m=arguments.length,g=new Array(m),v=0;v<m;v++)g[v]=arguments[v];f[p].queue.push(g)}),f[p].version="2.6.0",a=f[p],function(m){var g="[Autocomplete]: Could not load search-insights.js. Please load it manually following https://alg.li/insights-autocomplete";try{var v=m.document.createElement("script");v.async=!0,v.src=Tf,v.onerror=function(){console.error(g)},document.body.appendChild(v)}catch{console.error(g)}}(f))});var c=Cf(a),u={current:[]},s=Vc(function(l){var f=l.state;if(f.isOpen){var p=f.collections.reduce(function(m,g){return[].concat(We(m),We(g.items))},[]).filter(Xr);Wc(u.current.map(function(m){return m.objectID}),p.map(function(m){return m.objectID}))||(u.current=p,p.length>0&&Rf({onItemsChange:r,items:p,insights:c,state:f}))}},0);return{name:"aa.algoliaInsightsPlugin",subscribe:function(l){var f=l.setContext,p=l.onSelect,m=l.onActive;a("addAlgoliaAgent","insights-plugin"),f({algoliaInsightsPlugin:{__algoliaSearchParameters:{clickAnalytics:!0},insights:c}}),p(function(g){var v=g.item,h=g.state,y=g.event;Xr(v)&&o({state:h,event:y,insights:c,item:v,insightsEvents:[we({eventName:"Item Selected"},Na({item:v,items:u.current}))]})}),m(function(g){var v=g.item,h=g.state,y=g.event;Xr(v)&&i({state:h,event:y,insights:c,item:v,insightsEvents:[we({eventName:"Item Active"},Na({item:v,items:u.current}))]})})},onStateChange:function(l){var f=l.state;s({state:f})},__autocomplete_pluginOptions:e}}function Ln(e,t){var n=t;return{then:function(r,o){return Ln(e.then(An(r,n,e),An(o,n,e)),n)},catch:function(r){return Ln(e.catch(An(r,n,e)),n)},finally:function(r){return r&&n.onCancelList.push(r),Ln(e.finally(An(r&&function(){return n.onCancelList=[],r()},n,e)),n)},cancel:function(){n.isCanceled=!0;var r=n.onCancelList;n.onCancelList=[],r.forEach(function(o){o()})},isCanceled:function(){return n.isCanceled===!0}}}function qa(e){return Ln(e,{isCanceled:!1,onCancelList:[]})}function An(e,t,n){return e?function(r){return t.isCanceled?r:e(r)}:n}function Fa(e,t,n,r){if(!n)return null;if(e<0&&(t===null||r!==null&&t===0))return n+e;var o=(t===null?-1:t)+e;return o<=-1||o>=n?r===null?null:0:o}function Ba(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function $a(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ba(Object(n),!0).forEach(function(r){Lf(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ba(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Lf(e,t,n){return(t=function(r){var o=function(i,a){if(et(i)!=="object"||i===null)return i;var c=i[Symbol.toPrimitive];if(c!==void 0){var u=c.call(i,a||"default");if(et(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(i)}(r,"string");return et(o)==="symbol"?o:String(o)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function et(e){return et=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},et(e)}function Xe(e){var t=function(o){var i=o.collections.map(function(a){return a.items.length}).reduce(function(a,c,u){var s=(a[u-1]||0)+c;return a.push(s),a},[]).reduce(function(a,c){return c<=o.activeItemId?a+1:a},0);return o.collections[i]}(e);if(!t)return null;var n=t.items[function(o){for(var i=o.state,a=o.collection,c=!1,u=0,s=0;c===!1;){var l=i.collections[u];if(l===a){c=!0;break}s+=l.items.length,u++}return i.activeItemId-s}({state:e,collection:t})],r=t.source;return{item:n,itemInputValue:r.getItemInputValue({item:n,state:e}),itemUrl:r.getItemUrl({item:n,state:e}),source:r}}var Mf=/((gt|sm)-|galaxy nexus)|samsung[- ]|samsungbrowser/i;function Rt(e){return Rt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Rt(e)}function Ua(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Hf(e,t,n){return(t=function(r){var o=function(i,a){if(Rt(i)!=="object"||i===null)return i;var c=i[Symbol.toPrimitive];if(c!==void 0){var u=c.call(i,a||"default");if(Rt(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(i)}(r,"string");return Rt(o)==="symbol"?o:String(o)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qf(e,t,n){var r,o=t.initialState;return{getState:function(){return o},dispatch:function(i,a){var c=function(u){for(var s=1;s<arguments.length;s++){var l=arguments[s]!=null?arguments[s]:{};s%2?Ua(Object(l),!0).forEach(function(f){Hf(u,f,l[f])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(l)):Ua(Object(l)).forEach(function(f){Object.defineProperty(u,f,Object.getOwnPropertyDescriptor(l,f))})}return u}({},o);o=e(o,{type:i,props:t,payload:a}),n({state:o,prevState:c})},pendingRequests:(r=[],{add:function(i){return r.push(i),i.finally(function(){r=r.filter(function(a){return a!==i})})},cancelAll:function(){r.forEach(function(i){return i.cancel()})},isEmpty:function(){return r.length===0}})}}function Nt(e){return Nt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Nt(e)}function Va(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Pn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Va(Object(n),!0).forEach(function(r){Ff(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Va(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Ff(e,t,n){return(t=function(r){var o=function(i,a){if(Nt(i)!=="object"||i===null)return i;var c=i[Symbol.toPrimitive];if(c!==void 0){var u=c.call(i,a||"default");if(Nt(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(i)}(r,"string");return Nt(o)==="symbol"?o:String(o)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Lt(e){return Lt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Lt(e)}function Bf(e){return function(t){if(Array.isArray(t))return Gr(t)}(e)||function(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}(e)||function(t,n){if(t){if(typeof t=="string")return Gr(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Gr(t,n)}}(e)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Gr(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Wa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Ke(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Wa(Object(n),!0).forEach(function(r){$f(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wa(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function $f(e,t,n){return(t=function(r){var o=function(i,a){if(Lt(i)!=="object"||i===null)return i;var c=i[Symbol.toPrimitive];if(c!==void 0){var u=c.call(i,a||"default");if(Lt(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(i)}(r,"string");return Lt(o)==="symbol"?o:String(o)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Uf(e,t){var n,r=typeof window<"u"?window:{},o=e.plugins||[];return Ke(Ke({debug:!1,openOnFocus:!1,placeholder:"",autoFocus:!1,defaultActiveItemId:null,stallThreshold:300,insights:!1,environment:r,shouldPanelOpen:function(i){return mo(i.state)>0},reshape:function(i){return i.sources}},e),{},{id:(n=e.id)!==null&&n!==void 0?n:"autocomplete-".concat(Sf++),plugins:o,initialState:Ke({activeItemId:null,query:"",completion:null,collections:[],isOpen:!1,status:"idle",context:{}},e.initialState),onStateChange:function(i){var a;(a=e.onStateChange)===null||a===void 0||a.call(e,i),o.forEach(function(c){var u;return(u=c.onStateChange)===null||u===void 0?void 0:u.call(c,i)})},onSubmit:function(i){var a;(a=e.onSubmit)===null||a===void 0||a.call(e,i),o.forEach(function(c){var u;return(u=c.onSubmit)===null||u===void 0?void 0:u.call(c,i)})},onReset:function(i){var a;(a=e.onReset)===null||a===void 0||a.call(e,i),o.forEach(function(c){var u;return(u=c.onReset)===null||u===void 0?void 0:u.call(c,i)})},getSources:function(i){return Promise.all([].concat(Bf(o.map(function(a){return a.getSources})),[e.getSources]).filter(Boolean).map(function(a){return function(c,u){var s=[];return Promise.resolve(c(u)).then(function(l){return Array.isArray(l),Promise.all(l.filter(function(f){return!!f}).map(function(f){if(f.sourceId,s.includes(f.sourceId))throw new Error("[Autocomplete] The `sourceId` ".concat(JSON.stringify(f.sourceId)," is not unique."));s.push(f.sourceId);var p={getItemInputValue:function(g){return g.state.query},getItemUrl:function(){},onSelect:function(g){(0,g.setIsOpen)(!1)},onActive:$n,onResolve:$n};Object.keys(p).forEach(function(g){p[g].__default=!0});var m=$a($a({},p),f);return Promise.resolve(m)}))})}(a,i)})).then(function(a){return Jt(a)}).then(function(a){return a.map(function(c){return Ke(Ke({},c),{},{onSelect:function(u){c.onSelect(u),t.forEach(function(s){var l;return(l=s.onSelect)===null||l===void 0?void 0:l.call(s,u)})},onActive:function(u){c.onActive(u),t.forEach(function(s){var l;return(l=s.onActive)===null||l===void 0?void 0:l.call(s,u)})},onResolve:function(u){c.onResolve(u),t.forEach(function(s){var l;return(l=s.onResolve)===null||l===void 0?void 0:l.call(s,u)})}})})})},navigator:Ke({navigate:function(i){var a=i.itemUrl;r.location.assign(a)},navigateNewTab:function(i){var a=i.itemUrl,c=r.open(a,"_blank","noopener");c?.focus()},navigateNewWindow:function(i){var a=i.itemUrl;r.open(a,"_blank","noopener")}},e.navigator)})}function Mt(e){return Mt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Mt(e)}function Ka(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function In(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ka(Object(n),!0).forEach(function(r){zc(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ka(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function zc(e,t,n){return(t=function(r){var o=function(i,a){if(Mt(i)!=="object"||i===null)return i;var c=i[Symbol.toPrimitive];if(c!==void 0){var u=c.call(i,a||"default");if(Mt(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(i)}(r,"string");return Mt(o)==="symbol"?o:String(o)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tt(e){return tt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},tt(e)}function za(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function ze(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?za(Object(n),!0).forEach(function(r){Vf(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):za(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Vf(e,t,n){return(t=function(r){var o=function(i,a){if(tt(i)!=="object"||i===null)return i;var c=i[Symbol.toPrimitive];if(c!==void 0){var u=c.call(i,a||"default");if(tt(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(i)}(r,"string");return tt(o)==="symbol"?o:String(o)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jc(e){return function(t){if(Array.isArray(t))return eo(t)}(e)||function(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}(e)||function(t,n){if(t){if(typeof t=="string")return eo(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return eo(t,n)}}(e)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function eo(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Cn(e){return!!e.execute}function Wf(e,t,n){if(o=e,!!o?.execute){var r=e.requesterId==="algolia"?Object.assign.apply(Object,[{}].concat(Jc(Object.keys(n.context).map(function(i){var a;return(a=n.context[i])===null||a===void 0?void 0:a.__algoliaSearchParameters})))):{};return ze(ze({},e),{},{requests:e.queries.map(function(i){return{query:e.requesterId==="algolia"?ze(ze({},i),{},{params:ze(ze({},r),i.params)}):i,sourceId:t,transformResponse:e.transformResponse}})})}var o;return{items:e,sourceId:t}}function Kf(e){var t=e.reduce(function(n,r){if(!Cn(r))return n.push(r),n;var o=r.searchClient,i=r.execute,a=r.requesterId,c=r.requests,u=n.find(function(f){return Cn(r)&&Cn(f)&&f.searchClient===o&&!!a&&f.requesterId===a});if(u){var s;(s=u.items).push.apply(s,Jc(c))}else{var l={execute:i,requesterId:a,items:c,searchClient:o};n.push(l)}return n},[]).map(function(n){if(!Cn(n))return Promise.resolve(n);var r=n,o=r.execute,i=r.items;return o({searchClient:r.searchClient,requests:i})});return Promise.all(t).then(function(n){return Jt(n)})}function zf(e,t,n){return t.map(function(r){var o,i=e.filter(function(s){return s.sourceId===r.sourceId}),a=i.map(function(s){return s.items}),c=i[0].transformResponse,u=c?c({results:o=a,hits:o.map(function(s){return s.hits}).filter(Boolean),facetHits:o.map(function(s){var l;return(l=s.facetHits)===null||l===void 0?void 0:l.map(function(f){return{label:f.value,count:f.count,_highlightResult:{label:{value:f.highlighted}}}})}).filter(Boolean)}):a;return r.onResolve({source:r,results:a,items:u,state:n.getState()}),Array.isArray(u),u.every(Boolean),'The `getItems` function from source "'.concat(r.sourceId,'" must return an array of items but returned ').concat(JSON.stringify(void 0),`.

Did you forget to return items?

See: https://www.algolia.com/doc/ui-libraries/autocomplete/core-concepts/sources/#param-getitems`),{source:r,items:u}})}function Ht(e){return Ht=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ht(e)}var Jf=["event","nextState","props","query","refresh","store"];function Ja(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function jt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ja(Object(n),!0).forEach(function(r){Yf(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ja(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Yf(e,t,n){return(t=function(r){var o=function(i,a){if(Ht(i)!=="object"||i===null)return i;var c=i[Symbol.toPrimitive];if(c!==void 0){var u=c.call(i,a||"default");if(Ht(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(i)}(r,"string");return Ht(o)==="symbol"?o:String(o)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zf(e,t){if(e==null)return{};var n,r,o=function(a,c){if(a==null)return{};var u,s,l={},f=Object.keys(a);for(s=0;s<f.length;s++)u=f[s],c.indexOf(u)>=0||(l[u]=a[u]);return l}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Ya,to,Dn,At=null,Za=(Ya=-1,to=-1,Dn=void 0,function(e){var t=++Ya;return Promise.resolve(e).then(function(n){return Dn&&t<to?Dn:(to=t,Dn=n,n)})});function Ye(e){var t=e.event,n=e.nextState,r=n===void 0?{}:n,o=e.props,i=e.query,a=e.refresh,c=e.store,u=Zf(e,Jf);At&&o.environment.clearTimeout(At);var s=u.setCollections,l=u.setIsOpen,f=u.setQuery,p=u.setActiveItemId,m=u.setStatus;if(f(i),p(o.defaultActiveItemId),!i&&o.openOnFocus===!1){var g,v=c.getState().collections.map(function(_){return jt(jt({},_),{},{items:[]})});m("idle"),s(v),l((g=r.isOpen)!==null&&g!==void 0?g:o.shouldPanelOpen({state:c.getState()}));var h=qa(Za(v).then(function(){return Promise.resolve()}));return c.pendingRequests.add(h)}m("loading"),At=o.environment.setTimeout(function(){m("stalled")},o.stallThreshold);var y=qa(Za(o.getSources(jt({query:i,refresh:a,state:c.getState()},u)).then(function(_){return Promise.all(_.map(function(w){return Promise.resolve(w.getItems(jt({query:i,refresh:a,state:c.getState()},u))).then(function(O){return Wf(O,w.sourceId,c.getState())})})).then(Kf).then(function(w){return zf(w,_,c)}).then(function(w){return function(O){var b=O.collections,x=O.props,A=O.state,N=b.reduce(function(P,L){return In(In({},P),{},zc({},L.source.sourceId,In(In({},L.source),{},{getItems:function(){return Jt(L.items)}})))},{}),k=x.plugins.reduce(function(P,L){return L.reshape?L.reshape(P):P},{sourcesBySourceId:N,state:A}).sourcesBySourceId;return Jt(x.reshape({sourcesBySourceId:k,sources:Object.values(k),state:A})).filter(Boolean).map(function(P){return{source:P,items:P.getItems()}})}({collections:w,props:o,state:c.getState()})})}))).then(function(_){var w;m("idle"),s(_);var O=o.shouldPanelOpen({state:c.getState()});l((w=r.isOpen)!==null&&w!==void 0?w:o.openOnFocus&&!i&&O||O);var b=Xe(c.getState());if(c.getState().activeItemId!==null&&b){var x=b.item,A=b.itemInputValue,N=b.itemUrl,k=b.source;k.onActive(jt({event:t,item:x,itemInputValue:A,itemUrl:N,refresh:a,source:k,state:c.getState()},u))}}).finally(function(){m("idle"),At&&o.environment.clearTimeout(At)});return c.pendingRequests.add(y)}function qt(e){return qt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},qt(e)}var Xf=["event","props","refresh","store"];function Xa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Te(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Xa(Object(n),!0).forEach(function(r){Qf(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xa(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Qf(e,t,n){return(t=function(r){var o=function(i,a){if(qt(i)!=="object"||i===null)return i;var c=i[Symbol.toPrimitive];if(c!==void 0){var u=c.call(i,a||"default");if(qt(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(i)}(r,"string");return qt(o)==="symbol"?o:String(o)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gf(e,t){if(e==null)return{};var n,r,o=function(a,c){if(a==null)return{};var u,s,l={},f=Object.keys(a);for(s=0;s<f.length;s++)u=f[s],c.indexOf(u)>=0||(l[u]=a[u]);return l}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Ft(e){return Ft=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ft(e)}var ep=["props","refresh","store"],tp=["inputElement","formElement","panelElement"],np=["inputElement"],rp=["inputElement","maxLength"],op=["sourceIndex"],ip=["sourceIndex"],ap=["item","source","sourceIndex"];function Qa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function $(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Qa(Object(n),!0).forEach(function(r){cp(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qa(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function cp(e,t,n){return(t=function(r){var o=function(i,a){if(Ft(i)!=="object"||i===null)return i;var c=i[Symbol.toPrimitive];if(c!==void 0){var u=c.call(i,a||"default");if(Ft(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(i)}(r,"string");return Ft(o)==="symbol"?o:String(o)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Re(e,t){if(e==null)return{};var n,r,o=function(a,c){if(a==null)return{};var u,s,l={},f=Object.keys(a);for(s=0;s<f.length;s++)u=f[s],c.indexOf(u)>=0||(l[u]=a[u]);return l}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function up(e){var t=e.props,n=e.refresh,r=e.store,o=Re(e,ep),i=function(a,c){return c!==void 0?"".concat(a,"-").concat(c):a};return{getEnvironmentProps:function(a){var c=a.inputElement,u=a.formElement,s=a.panelElement;function l(f){!r.getState().isOpen&&r.pendingRequests.isEmpty()||f.target===c||[u,s].some(function(p){return m=p,g=f.target,m===g||m.contains(g);var m,g})===!1&&(r.dispatch("blur",null),t.debug||r.pendingRequests.cancelAll())}return $({onTouchStart:l,onMouseDown:l,onTouchMove:function(f){r.getState().isOpen!==!1&&c===t.environment.document.activeElement&&f.target!==c&&c.blur()}},Re(a,tp))},getRootProps:function(a){return $({role:"combobox","aria-expanded":r.getState().isOpen,"aria-haspopup":"listbox","aria-owns":r.getState().isOpen?"".concat(t.id,"-list"):void 0,"aria-labelledby":"".concat(t.id,"-label")},a)},getFormProps:function(a){return a.inputElement,$({action:"",noValidate:!0,role:"search",onSubmit:function(c){var u;c.preventDefault(),t.onSubmit($({event:c,refresh:n,state:r.getState()},o)),r.dispatch("submit",null),(u=a.inputElement)===null||u===void 0||u.blur()},onReset:function(c){var u;c.preventDefault(),t.onReset($({event:c,refresh:n,state:r.getState()},o)),r.dispatch("reset",null),(u=a.inputElement)===null||u===void 0||u.focus()}},Re(a,np))},getLabelProps:function(a){var c=a||{},u=c.sourceIndex,s=Re(c,op);return $({htmlFor:"".concat(i(t.id,u),"-input"),id:"".concat(i(t.id,u),"-label")},s)},getInputProps:function(a){var c;function u(h){(t.openOnFocus||r.getState().query)&&Ye($({event:h,props:t,query:r.getState().completion||r.getState().query,refresh:n,store:r},o)),r.dispatch("focus",null)}var s=a||{},l=(s.inputElement,s.maxLength),f=l===void 0?512:l,p=Re(s,rp),m=Xe(r.getState()),g=function(h){return!!(h&&h.match(Mf))}(((c=t.environment.navigator)===null||c===void 0?void 0:c.userAgent)||""),v=m!=null&&m.itemUrl&&!g?"go":"search";return $({"aria-autocomplete":"both","aria-activedescendant":r.getState().isOpen&&r.getState().activeItemId!==null?"".concat(t.id,"-item-").concat(r.getState().activeItemId):void 0,"aria-controls":r.getState().isOpen?"".concat(t.id,"-list"):void 0,"aria-labelledby":"".concat(t.id,"-label"),value:r.getState().completion||r.getState().query,id:"".concat(t.id,"-input"),autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",enterKeyHint:v,spellCheck:"false",autoFocus:t.autoFocus,placeholder:t.placeholder,maxLength:f,type:"search",onChange:function(h){Ye($({event:h,props:t,query:h.currentTarget.value.slice(0,f),refresh:n,store:r},o))},onKeyDown:function(h){(function(y){var _=y.event,w=y.props,O=y.refresh,b=y.store,x=Gf(y,Xf);if(_.key==="ArrowUp"||_.key==="ArrowDown"){var A=function(){var D=w.environment.document.getElementById("".concat(w.id,"-item-").concat(b.getState().activeItemId));D&&(D.scrollIntoViewIfNeeded?D.scrollIntoViewIfNeeded(!1):D.scrollIntoView(!1))},N=function(){var D=Xe(b.getState());if(b.getState().activeItemId!==null&&D){var W=D.item,K=D.itemInputValue,z=D.itemUrl,Z=D.source;Z.onActive(Te({event:_,item:W,itemInputValue:K,itemUrl:z,refresh:O,source:Z,state:b.getState()},x))}};_.preventDefault(),b.getState().isOpen===!1&&(w.openOnFocus||b.getState().query)?Ye(Te({event:_,props:w,query:b.getState().query,refresh:O,store:b},x)).then(function(){b.dispatch(_.key,{nextActiveItemId:w.defaultActiveItemId}),N(),setTimeout(A,0)}):(b.dispatch(_.key,{}),N(),A())}else if(_.key==="Escape")_.preventDefault(),b.dispatch(_.key,null),b.pendingRequests.cancelAll();else if(_.key==="Tab")b.dispatch("blur",null),b.pendingRequests.cancelAll();else if(_.key==="Enter"){if(b.getState().activeItemId===null||b.getState().collections.every(function(D){return D.items.length===0}))return void(w.debug||b.pendingRequests.cancelAll());_.preventDefault();var k=Xe(b.getState()),P=k.item,L=k.itemInputValue,T=k.itemUrl,F=k.source;if(_.metaKey||_.ctrlKey)T!==void 0&&(F.onSelect(Te({event:_,item:P,itemInputValue:L,itemUrl:T,refresh:O,source:F,state:b.getState()},x)),w.navigator.navigateNewTab({itemUrl:T,item:P,state:b.getState()}));else if(_.shiftKey)T!==void 0&&(F.onSelect(Te({event:_,item:P,itemInputValue:L,itemUrl:T,refresh:O,source:F,state:b.getState()},x)),w.navigator.navigateNewWindow({itemUrl:T,item:P,state:b.getState()}));else if(!_.altKey){if(T!==void 0)return F.onSelect(Te({event:_,item:P,itemInputValue:L,itemUrl:T,refresh:O,source:F,state:b.getState()},x)),void w.navigator.navigate({itemUrl:T,item:P,state:b.getState()});Ye(Te({event:_,nextState:{isOpen:!1},props:w,query:L,refresh:O,store:b},x)).then(function(){F.onSelect(Te({event:_,item:P,itemInputValue:L,itemUrl:T,refresh:O,source:F,state:b.getState()},x))})}}})($({event:h,props:t,refresh:n,store:r},o))},onFocus:u,onBlur:$n,onClick:function(h){a.inputElement!==t.environment.document.activeElement||r.getState().isOpen||u(h)}},p)},getPanelProps:function(a){return $({onMouseDown:function(c){c.preventDefault()},onMouseLeave:function(){r.dispatch("mouseleave",null)}},a)},getListProps:function(a){var c=a||{},u=c.sourceIndex,s=Re(c,ip);return $({role:"listbox","aria-labelledby":"".concat(i(t.id,u),"-label"),id:"".concat(i(t.id,u),"-list")},s)},getItemProps:function(a){var c=a.item,u=a.source,s=a.sourceIndex,l=Re(a,ap);return $({id:"".concat(i(t.id,s),"-item-").concat(c.__autocomplete_id),role:"option","aria-selected":r.getState().activeItemId===c.__autocomplete_id,onMouseMove:function(f){if(c.__autocomplete_id!==r.getState().activeItemId){r.dispatch("mousemove",c.__autocomplete_id);var p=Xe(r.getState());if(r.getState().activeItemId!==null&&p){var m=p.item,g=p.itemInputValue,v=p.itemUrl,h=p.source;h.onActive($({event:f,item:m,itemInputValue:g,itemUrl:v,refresh:n,source:h,state:r.getState()},o))}}},onMouseDown:function(f){f.preventDefault()},onClick:function(f){var p=u.getItemInputValue({item:c,state:r.getState()}),m=u.getItemUrl({item:c,state:r.getState()});(m?Promise.resolve():Ye($({event:f,nextState:{isOpen:!1},props:t,query:p,refresh:n,store:r},o))).then(function(){u.onSelect($({event:f,item:c,itemInputValue:p,itemUrl:m,refresh:n,source:u,state:r.getState()},o))})}},l)}}}function Bt(e){return Bt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Bt(e)}function Ga(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function lp(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ga(Object(n),!0).forEach(function(r){Yc(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ga(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Yc(e,t,n){return(t=function(r){var o=function(i,a){if(Bt(i)!=="object"||i===null)return i;var c=i[Symbol.toPrimitive];if(c!==void 0){var u=c.call(i,a||"default");if(Bt(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(i)}(r,"string");return Bt(o)==="symbol"?o:String(o)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sp(e){var t,n,r,o,i=e.plugins,a=e.options,c=(t=(((n=a.__autocomplete_metadata)===null||n===void 0?void 0:n.userAgents)||[])[0])===null||t===void 0?void 0:t.segment,u=c?Yc({},c,Object.keys(((r=a.__autocomplete_metadata)===null||r===void 0?void 0:r.options)||{})):{};return{plugins:i.map(function(s){return{name:s.name,options:Object.keys(s.__autocomplete_pluginOptions||[])}}),options:lp({"autocomplete-core":Object.keys(a)},u),ua:xf.concat(((o=a.__autocomplete_metadata)===null||o===void 0?void 0:o.userAgents)||[])}}function ec(e){var t,n=e.state;return n.isOpen===!1||n.activeItemId===null?null:((t=Xe(n))===null||t===void 0?void 0:t.itemInputValue)||null}function $t(e){return $t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},$t(e)}function tc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function j(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?tc(Object(n),!0).forEach(function(r){fp(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tc(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function fp(e,t,n){return(t=function(r){var o=function(i,a){if($t(i)!=="object"||i===null)return i;var c=i[Symbol.toPrimitive];if(c!==void 0){var u=c.call(i,a||"default");if($t(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(i)}(r,"string");return $t(o)==="symbol"?o:String(o)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var pp=function(e,t){switch(t.type){case"setActiveItemId":case"mousemove":return j(j({},e),{},{activeItemId:t.payload});case"setQuery":return j(j({},e),{},{query:t.payload,completion:null});case"setCollections":return j(j({},e),{},{collections:t.payload});case"setIsOpen":return j(j({},e),{},{isOpen:t.payload});case"setStatus":return j(j({},e),{},{status:t.payload});case"setContext":return j(j({},e),{},{context:j(j({},e.context),t.payload)});case"ArrowDown":var n=j(j({},e),{},{activeItemId:t.payload.hasOwnProperty("nextActiveItemId")?t.payload.nextActiveItemId:Fa(1,e.activeItemId,mo(e),t.props.defaultActiveItemId)});return j(j({},n),{},{completion:ec({state:n})});case"ArrowUp":var r=j(j({},e),{},{activeItemId:Fa(-1,e.activeItemId,mo(e),t.props.defaultActiveItemId)});return j(j({},r),{},{completion:ec({state:r})});case"Escape":return e.isOpen?j(j({},e),{},{activeItemId:null,isOpen:!1,completion:null}):j(j({},e),{},{activeItemId:null,query:"",status:"idle",collections:[]});case"submit":return j(j({},e),{},{activeItemId:null,isOpen:!1,status:"idle"});case"reset":return j(j({},e),{},{activeItemId:t.props.openOnFocus===!0?t.props.defaultActiveItemId:null,status:"idle",query:""});case"focus":return j(j({},e),{},{activeItemId:t.props.defaultActiveItemId,isOpen:(t.props.openOnFocus||!!e.query)&&t.props.shouldPanelOpen({state:e})});case"blur":return t.props.debug?e:j(j({},e),{},{isOpen:!1,activeItemId:null});case"mouseleave":return j(j({},e),{},{activeItemId:t.props.defaultActiveItemId});default:return"The reducer action ".concat(JSON.stringify(t.type)," is not supported."),e}};function Ut(e){return Ut=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ut(e)}function nc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Ne(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?nc(Object(n),!0).forEach(function(r){dp(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nc(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function dp(e,t,n){return(t=function(r){var o=function(i,a){if(Ut(i)!=="object"||i===null)return i;var c=i[Symbol.toPrimitive];if(c!==void 0){var u=c.call(i,a||"default");if(Ut(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(i)}(r,"string");return Ut(o)==="symbol"?o:String(o)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mp(e){var t=[],n=Uf(e,t),r=qf(pp,n,function(u){var s=u.prevState,l=u.state;n.onStateChange(Ne({prevState:s,state:l,refresh:a,navigator:n.navigator},o))}),o=function(u){var s=u.store;return{setActiveItemId:function(l){s.dispatch("setActiveItemId",l)},setQuery:function(l){s.dispatch("setQuery",l)},setCollections:function(l){var f=0,p=l.map(function(m){return Pn(Pn({},m),{},{items:Jt(m.items).map(function(g){return Pn(Pn({},g),{},{__autocomplete_id:f++})})})});s.dispatch("setCollections",p)},setIsOpen:function(l){s.dispatch("setIsOpen",l)},setStatus:function(l){s.dispatch("setStatus",l)},setContext:function(l){s.dispatch("setContext",l)}}}({store:r}),i=up(Ne({props:n,refresh:a,store:r,navigator:n.navigator},o));function a(){return Ye(Ne({event:new Event("input"),nextState:{isOpen:r.getState().isOpen},props:n,navigator:n.navigator,query:r.getState().query,refresh:a,store:r},o))}if(e.insights&&!n.plugins.some(function(u){return u.name==="aa.algoliaInsightsPlugin"})){var c=typeof e.insights=="boolean"?{}:e.insights;n.plugins.push(Nf(c))}return n.plugins.forEach(function(u){var s;return(s=u.subscribe)===null||s===void 0?void 0:s.call(u,Ne(Ne({},o),{},{navigator:n.navigator,refresh:a,onSelect:function(l){t.push({onSelect:l})},onActive:function(l){t.push({onActive:l})},onResolve:function(l){t.push({onResolve:l})}}))}),function(u){var s,l,f=u.metadata,p=u.environment;if(!((s=p.navigator)===null||s===void 0||(l=s.userAgent)===null||l===void 0)&&l.includes("Algolia Crawler")){var m=p.document.createElement("meta"),g=p.document.querySelector("head");m.name="algolia:metadata",setTimeout(function(){m.content=JSON.stringify(f),g.appendChild(m)},0)}}({metadata:sp({plugins:n.plugins,options:e}),environment:n.environment}),Ne(Ne({refresh:a,navigator:n.navigator},i),o)}function hp(e){var t=e.translations,n=(t===void 0?{}:t).searchByText,r=n===void 0?"Search by":n;return d.createElement("a",{href:"https://www.algolia.com/ref/docsearch/?utm_source=".concat(window.location.hostname,"&utm_medium=referral&utm_content=powered_by&utm_campaign=docsearch"),target:"_blank",rel:"noopener noreferrer"},d.createElement("span",{className:"DocSearch-Label"},r),d.createElement("svg",{width:"77",height:"19","aria-label":"Algolia",role:"img",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2196.2 500"},d.createElement("defs",null,d.createElement("style",null,".cls-1,.cls-2{fill:#003dff;}.cls-2{fill-rule:evenodd;}")),d.createElement("path",{className:"cls-2",d:"M1070.38,275.3V5.91c0-3.63-3.24-6.39-6.82-5.83l-50.46,7.94c-2.87,.45-4.99,2.93-4.99,5.84l.17,273.22c0,12.92,0,92.7,95.97,95.49,3.33,.1,6.09-2.58,6.09-5.91v-40.78c0-2.96-2.19-5.51-5.12-5.84-34.85-4.01-34.85-47.57-34.85-54.72Z"}),d.createElement("rect",{className:"cls-1",x:"1845.88",y:"104.73",width:"62.58",height:"277.9",rx:"5.9",ry:"5.9"}),d.createElement("path",{className:"cls-2",d:"M1851.78,71.38h50.77c3.26,0,5.9-2.64,5.9-5.9V5.9c0-3.62-3.24-6.39-6.82-5.83l-50.77,7.95c-2.87,.45-4.99,2.92-4.99,5.83v51.62c0,3.26,2.64,5.9,5.9,5.9Z"}),d.createElement("path",{className:"cls-2",d:"M1764.03,275.3V5.91c0-3.63-3.24-6.39-6.82-5.83l-50.46,7.94c-2.87,.45-4.99,2.93-4.99,5.84l.17,273.22c0,12.92,0,92.7,95.97,95.49,3.33,.1,6.09-2.58,6.09-5.91v-40.78c0-2.96-2.19-5.51-5.12-5.84-34.85-4.01-34.85-47.57-34.85-54.72Z"}),d.createElement("path",{className:"cls-2",d:"M1631.95,142.72c-11.14-12.25-24.83-21.65-40.78-28.31-15.92-6.53-33.26-9.85-52.07-9.85-18.78,0-36.15,3.17-51.92,9.85-15.59,6.66-29.29,16.05-40.76,28.31-11.47,12.23-20.38,26.87-26.76,44.03-6.38,17.17-9.24,37.37-9.24,58.36,0,20.99,3.19,36.87,9.55,54.21,6.38,17.32,15.14,32.11,26.45,44.36,11.29,12.23,24.83,21.62,40.6,28.46,15.77,6.83,40.12,10.33,52.4,10.48,12.25,0,36.78-3.82,52.7-10.48,15.92-6.68,29.46-16.23,40.78-28.46,11.29-12.25,20.05-27.04,26.25-44.36,6.22-17.34,9.24-33.22,9.24-54.21,0-20.99-3.34-41.19-10.03-58.36-6.38-17.17-15.14-31.8-26.43-44.03Zm-44.43,163.75c-11.47,15.75-27.56,23.7-48.09,23.7-20.55,0-36.63-7.8-48.1-23.7-11.47-15.75-17.21-34.01-17.21-61.2,0-26.89,5.59-49.14,17.06-64.87,11.45-15.75,27.54-23.52,48.07-23.52,20.55,0,36.63,7.78,48.09,23.52,11.47,15.57,17.36,37.98,17.36,64.87,0,27.19-5.72,45.3-17.19,61.2Z"}),d.createElement("path",{className:"cls-2",d:"M894.42,104.73h-49.33c-48.36,0-90.91,25.48-115.75,64.1-14.52,22.58-22.99,49.63-22.99,78.73,0,44.89,20.13,84.92,51.59,111.1,2.93,2.6,6.05,4.98,9.31,7.14,12.86,8.49,28.11,13.47,44.52,13.47,1.23,0,2.46-.03,3.68-.09,.36-.02,.71-.05,1.07-.07,.87-.05,1.75-.11,2.62-.2,.34-.03,.68-.08,1.02-.12,.91-.1,1.82-.21,2.73-.34,.21-.03,.42-.07,.63-.1,32.89-5.07,61.56-30.82,70.9-62.81v57.83c0,3.26,2.64,5.9,5.9,5.9h50.42c3.26,0,5.9-2.64,5.9-5.9V110.63c0-3.26-2.64-5.9-5.9-5.9h-56.32Zm0,206.92c-12.2,10.16-27.97,13.98-44.84,15.12-.16,.01-.33,.03-.49,.04-1.12,.07-2.24,.1-3.36,.1-42.24,0-77.12-35.89-77.12-79.37,0-10.25,1.96-20.01,5.42-28.98,11.22-29.12,38.77-49.74,71.06-49.74h49.33v142.83Z"}),d.createElement("path",{className:"cls-2",d:"M2133.97,104.73h-49.33c-48.36,0-90.91,25.48-115.75,64.1-14.52,22.58-22.99,49.63-22.99,78.73,0,44.89,20.13,84.92,51.59,111.1,2.93,2.6,6.05,4.98,9.31,7.14,12.86,8.49,28.11,13.47,44.52,13.47,1.23,0,2.46-.03,3.68-.09,.36-.02,.71-.05,1.07-.07,.87-.05,1.75-.11,2.62-.2,.34-.03,.68-.08,1.02-.12,.91-.1,1.82-.21,2.73-.34,.21-.03,.42-.07,.63-.1,32.89-5.07,61.56-30.82,70.9-62.81v57.83c0,3.26,2.64,5.9,5.9,5.9h50.42c3.26,0,5.9-2.64,5.9-5.9V110.63c0-3.26-2.64-5.9-5.9-5.9h-56.32Zm0,206.92c-12.2,10.16-27.97,13.98-44.84,15.12-.16,.01-.33,.03-.49,.04-1.12,.07-2.24,.1-3.36,.1-42.24,0-77.12-35.89-77.12-79.37,0-10.25,1.96-20.01,5.42-28.98,11.22-29.12,38.77-49.74,71.06-49.74h49.33v142.83Z"}),d.createElement("path",{className:"cls-2",d:"M1314.05,104.73h-49.33c-48.36,0-90.91,25.48-115.75,64.1-11.79,18.34-19.6,39.64-22.11,62.59-.58,5.3-.88,10.68-.88,16.14s.31,11.15,.93,16.59c4.28,38.09,23.14,71.61,50.66,94.52,2.93,2.6,6.05,4.98,9.31,7.14,12.86,8.49,28.11,13.47,44.52,13.47h0c17.99,0,34.61-5.93,48.16-15.97,16.29-11.58,28.88-28.54,34.48-47.75v50.26h-.11v11.08c0,21.84-5.71,38.27-17.34,49.36-11.61,11.08-31.04,16.63-58.25,16.63-11.12,0-28.79-.59-46.6-2.41-2.83-.29-5.46,1.5-6.27,4.22l-12.78,43.11c-1.02,3.46,1.27,7.02,4.83,7.53,21.52,3.08,42.52,4.68,54.65,4.68,48.91,0,85.16-10.75,108.89-32.21,21.48-19.41,33.15-48.89,35.2-88.52V110.63c0-3.26-2.64-5.9-5.9-5.9h-56.32Zm0,64.1s.65,139.13,0,143.36c-12.08,9.77-27.11,13.59-43.49,14.7-.16,.01-.33,.03-.49,.04-1.12,.07-2.24,.1-3.36,.1-1.32,0-2.63-.03-3.94-.1-40.41-2.11-74.52-37.26-74.52-79.38,0-10.25,1.96-20.01,5.42-28.98,11.22-29.12,38.77-49.74,71.06-49.74h49.33Z"}),d.createElement("path",{className:"cls-1",d:"M249.83,0C113.3,0,2,110.09,.03,246.16c-2,138.19,110.12,252.7,248.33,253.5,42.68,.25,83.79-10.19,120.3-30.03,3.56-1.93,4.11-6.83,1.08-9.51l-23.38-20.72c-4.75-4.21-11.51-5.4-17.36-2.92-25.48,10.84-53.17,16.38-81.71,16.03-111.68-1.37-201.91-94.29-200.13-205.96,1.76-110.26,92-199.41,202.67-199.41h202.69V407.41l-115-102.18c-3.72-3.31-9.42-2.66-12.42,1.31-18.46,24.44-48.53,39.64-81.93,37.34-46.33-3.2-83.87-40.5-87.34-86.81-4.15-55.24,39.63-101.52,94-101.52,49.18,0,89.68,37.85,93.91,85.95,.38,4.28,2.31,8.27,5.52,11.12l29.95,26.55c3.4,3.01,8.79,1.17,9.63-3.3,2.16-11.55,2.92-23.58,2.07-35.92-4.82-70.34-61.8-126.93-132.17-131.26-80.68-4.97-148.13,58.14-150.27,137.25-2.09,77.1,61.08,143.56,138.19,145.26,32.19,.71,62.03-9.41,86.14-26.95l150.26,133.2c6.44,5.71,16.61,1.14,16.61-7.47V9.48C499.66,4.25,495.42,0,490.18,0H249.83Z"})))}function kn(e){return d.createElement("svg",{width:"15",height:"15","aria-label":e.ariaLabel,role:"img"},d.createElement("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.2"},e.children))}function gp(e){var t=e.translations,n=t===void 0?{}:t,r=n.selectText,o=r===void 0?"to select":r,i=n.selectKeyAriaLabel,a=i===void 0?"Enter key":i,c=n.navigateText,u=c===void 0?"to navigate":c,s=n.navigateUpKeyAriaLabel,l=s===void 0?"Arrow up":s,f=n.navigateDownKeyAriaLabel,p=f===void 0?"Arrow down":f,m=n.closeText,g=m===void 0?"to close":m,v=n.closeKeyAriaLabel,h=v===void 0?"Escape key":v,y=n.searchByText,_=y===void 0?"Search by":y;return d.createElement(d.Fragment,null,d.createElement("div",{className:"DocSearch-Logo"},d.createElement(hp,{translations:{searchByText:_}})),d.createElement("ul",{className:"DocSearch-Commands"},d.createElement("li",null,d.createElement("kbd",{className:"DocSearch-Commands-Key"},d.createElement(kn,{ariaLabel:a},d.createElement("path",{d:"M12 3.53088v3c0 1-1 2-2 2H4M7 11.53088l-3-3 3-3"}))),d.createElement("span",{className:"DocSearch-Label"},o)),d.createElement("li",null,d.createElement("kbd",{className:"DocSearch-Commands-Key"},d.createElement(kn,{ariaLabel:p},d.createElement("path",{d:"M7.5 3.5v8M10.5 8.5l-3 3-3-3"}))),d.createElement("kbd",{className:"DocSearch-Commands-Key"},d.createElement(kn,{ariaLabel:l},d.createElement("path",{d:"M7.5 11.5v-8M10.5 6.5l-3-3-3 3"}))),d.createElement("span",{className:"DocSearch-Label"},u)),d.createElement("li",null,d.createElement("kbd",{className:"DocSearch-Commands-Key"},d.createElement(kn,{ariaLabel:h},d.createElement("path",{d:"M13.6167 8.936c-.1065.3583-.6883.962-1.4875.962-.7993 0-1.653-.9165-1.653-2.1258v-.5678c0-1.2548.7896-2.1016 1.653-2.1016.8634 0 1.3601.4778 1.4875 1.0724M9 6c-.1352-.4735-.7506-.9219-1.46-.8972-.7092.0246-1.344.57-1.344 1.2166s.4198.8812 1.3445.9805C8.465 7.3992 8.968 7.9337 9 8.5c.032.5663-.454 1.398-1.4595 1.398C6.6593 9.898 6 9 5.963 8.4851m-1.4748.5368c-.2635.5941-.8099.876-1.5443.876s-1.7073-.6248-1.7073-2.204v-.4603c0-1.0416.721-2.131 1.7073-2.131.9864 0 1.6425 1.031 1.5443 2.2492h-2.956"}))),d.createElement("span",{className:"DocSearch-Label"},g))))}function vp(e){var t=e.hit,n=e.children;return d.createElement("a",{href:t.url},n)}function yp(){return d.createElement("svg",{viewBox:"0 0 38 38",stroke:"currentColor",strokeOpacity:".5"},d.createElement("g",{fill:"none",fillRule:"evenodd"},d.createElement("g",{transform:"translate(1 1)",strokeWidth:"2"},d.createElement("circle",{strokeOpacity:".3",cx:"18",cy:"18",r:"18"}),d.createElement("path",{d:"M36 18c0-9.94-8.06-18-18-18"},d.createElement("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"1s",repeatCount:"indefinite"})))))}function _p(){return d.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},d.createElement("g",{stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"},d.createElement("path",{d:"M3.18 6.6a8.23 8.23 0 1112.93 9.94h0a8.23 8.23 0 01-11.63 0"}),d.createElement("path",{d:"M6.44 7.25H2.55V3.36M10.45 6v5.6M10.45 11.6L13 13"})))}function ho(){return d.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},d.createElement("path",{d:"M10 10l5.09-5.09L10 10l5.09 5.09L10 10zm0 0L4.91 4.91 10 10l-5.09 5.09L10 10z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}))}function bp(){return d.createElement("svg",{className:"DocSearch-Hit-Select-Icon",width:"20",height:"20",viewBox:"0 0 20 20"},d.createElement("g",{stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"},d.createElement("path",{d:"M18 3v4c0 2-2 4-4 4H2"}),d.createElement("path",{d:"M8 17l-6-6 6-6"})))}var wp=function(){return d.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},d.createElement("path",{d:"M17 6v12c0 .52-.2 1-1 1H4c-.7 0-1-.33-1-1V2c0-.55.42-1 1-1h8l5 5zM14 8h-3.13c-.51 0-.87-.34-.87-.87V4",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinejoin:"round"}))};function Op(e){switch(e.type){case"lvl1":return d.createElement(wp,null);case"content":return d.createElement(xp,null);default:return d.createElement(Sp,null)}}function Sp(){return d.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},d.createElement("path",{d:"M13 13h4-4V8H7v5h6v4-4H7V8H3h4V3v5h6V3v5h4-4v5zm-6 0v4-4H3h4z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}))}function xp(){return d.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},d.createElement("path",{d:"M17 5H3h14zm0 5H3h14zm0 5H3h14z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinejoin:"round"}))}function rc(){return d.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},d.createElement("path",{d:"M10 14.2L5 17l1-5.6-4-4 5.5-.7 2.5-5 2.5 5 5.6.8-4 4 .9 5.5z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinejoin:"round"}))}function Ep(){return d.createElement("svg",{width:"40",height:"40",viewBox:"0 0 20 20",fill:"none",fillRule:"evenodd",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"},d.createElement("path",{d:"M19 4.8a16 16 0 00-2-1.2m-3.3-1.2A16 16 0 001.1 4.7M16.7 8a12 12 0 00-2.8-1.4M10 6a12 12 0 00-6.7 2M12.3 14.7a4 4 0 00-4.5 0M14.5 11.4A8 8 0 0010 10M3 16L18 2M10 18h0"}))}function jp(){return d.createElement("svg",{width:"40",height:"40",viewBox:"0 0 20 20",fill:"none",fillRule:"evenodd",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"},d.createElement("path",{d:"M15.5 4.8c2 3 1.7 7-1 9.7h0l4.3 4.3-4.3-4.3a7.8 7.8 0 01-9.8 1m-2.2-2.2A7.8 7.8 0 0113.2 2.4M2 18L18 2"}))}function Ap(e){var t=e.translations,n=t===void 0?{}:t,r=n.titleText,o=r===void 0?"Unable to fetch results":r,i=n.helpText,a=i===void 0?"You might want to check your network connection.":i;return d.createElement("div",{className:"DocSearch-ErrorScreen"},d.createElement("div",{className:"DocSearch-Screen-Icon"},d.createElement(Ep,null)),d.createElement("p",{className:"DocSearch-Title"},o),d.createElement("p",{className:"DocSearch-Help"},a))}var Pp=["translations"];function Ip(e){return function(t){if(Array.isArray(t))return no(t)}(e)||function(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}(e)||function(t,n){if(t){if(typeof t=="string")return no(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return no(t,n)}}(e)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function no(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Cp(e,t){if(e==null)return{};var n,r,o=function(a,c){if(a==null)return{};var u,s,l={},f=Object.keys(a);for(s=0;s<f.length;s++)u=f[s],c.indexOf(u)>=0||(l[u]=a[u]);return l}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Dp(e){var t=e.translations,n=t===void 0?{}:t,r=Cp(e,Pp),o=n.noResultsText,i=o===void 0?"No results for":o,a=n.suggestedQueryText,c=a===void 0?"Try searching for":a,u=n.reportMissingResultsText,s=u===void 0?"Believe this query should return results?":u,l=n.reportMissingResultsLinkText,f=l===void 0?"Let us know.":l,p=r.state.context.searchSuggestions;return d.createElement("div",{className:"DocSearch-NoResults"},d.createElement("div",{className:"DocSearch-Screen-Icon"},d.createElement(jp,null)),d.createElement("p",{className:"DocSearch-Title"},i,' "',d.createElement("strong",null,r.state.query),'"'),p&&p.length>0&&d.createElement("div",{className:"DocSearch-NoResults-Prefill-List"},d.createElement("p",{className:"DocSearch-Help"},c,":"),d.createElement("ul",null,p.slice(0,3).reduce(function(m,g){return[].concat(Ip(m),[d.createElement("li",{key:g},d.createElement("button",{className:"DocSearch-Prefill",key:g,type:"button",onClick:function(){r.setQuery(g.toLowerCase()+" "),r.refresh(),r.inputRef.current.focus()}},g))])},[]))),r.getMissingResultsUrl&&d.createElement("p",{className:"DocSearch-Help"},"".concat(s," "),d.createElement("a",{href:r.getMissingResultsUrl({query:r.state.query}),target:"_blank",rel:"noopener noreferrer"},f)))}var kp=["hit","attribute","tagName"];function oc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function ic(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?oc(Object(n),!0).forEach(function(r){Tp(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oc(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Tp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Rp(e,t){if(e==null)return{};var n,r,o=function(a,c){if(a==null)return{};var u,s,l={},f=Object.keys(a);for(s=0;s<f.length;s++)u=f[s],c.indexOf(u)>=0||(l[u]=a[u]);return l}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function ac(e,t){return t.split(".").reduce(function(n,r){return n!=null&&n[r]?n[r]:null},e)}function Je(e){var t=e.hit,n=e.attribute,r=e.tagName;return re(r===void 0?"span":r,ic(ic({},Rp(e,kp)),{},{dangerouslySetInnerHTML:{__html:ac(t,"_snippetResult.".concat(n,".value"))||ac(t,n)}}))}function cc(e,t){return function(n){if(Array.isArray(n))return n}(e)||function(n,r){var o=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(o!=null){var i,a,c=[],u=!0,s=!1;try{for(o=o.call(n);!(u=(i=o.next()).done)&&(c.push(i.value),!r||c.length!==r);u=!0);}catch(l){s=!0,a=l}finally{try{u||o.return==null||o.return()}finally{if(s)throw a}}return c}}(e,t)||function(n,r){if(n){if(typeof n=="string")return uc(n,r);var o=Object.prototype.toString.call(n).slice(8,-1);if(o==="Object"&&n.constructor&&(o=n.constructor.name),o==="Map"||o==="Set")return Array.from(n);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return uc(n,r)}}(e,t)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function uc(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Un(){return Un=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Un.apply(this,arguments)}function go(e){return e.collection&&e.collection.items.length!==0?d.createElement("section",{className:"DocSearch-Hits"},d.createElement("div",{className:"DocSearch-Hit-source"},e.title),d.createElement("ul",e.getListProps(),e.collection.items.map(function(t,n){return d.createElement(Np,Un({key:[e.title,t.objectID].join(":"),item:t,index:n},e))}))):null}function Np(e){var t=e.item,n=e.index,r=e.renderIcon,o=e.renderAction,i=e.getItemProps,a=e.onItemClick,c=e.collection,u=e.hitComponent,s=cc(d.useState(!1),2),l=s[0],f=s[1],p=cc(d.useState(!1),2),m=p[0],g=p[1],v=d.useRef(null),h=u;return d.createElement("li",Un({className:["DocSearch-Hit",t.__docsearch_parent&&"DocSearch-Hit--Child",l&&"DocSearch-Hit--deleting",m&&"DocSearch-Hit--favoriting"].filter(Boolean).join(" "),onTransitionEnd:function(){v.current&&v.current()}},i({item:t,source:c.source,onClick:function(y){a(t,y)}})),d.createElement(h,{hit:t},d.createElement("div",{className:"DocSearch-Hit-Container"},r({item:t,index:n}),t.hierarchy[t.type]&&t.type==="lvl1"&&d.createElement("div",{className:"DocSearch-Hit-content-wrapper"},d.createElement(Je,{className:"DocSearch-Hit-title",hit:t,attribute:"hierarchy.lvl1"}),t.content&&d.createElement(Je,{className:"DocSearch-Hit-path",hit:t,attribute:"content"})),t.hierarchy[t.type]&&(t.type==="lvl2"||t.type==="lvl3"||t.type==="lvl4"||t.type==="lvl5"||t.type==="lvl6")&&d.createElement("div",{className:"DocSearch-Hit-content-wrapper"},d.createElement(Je,{className:"DocSearch-Hit-title",hit:t,attribute:"hierarchy.".concat(t.type)}),d.createElement(Je,{className:"DocSearch-Hit-path",hit:t,attribute:"hierarchy.lvl1"})),t.type==="content"&&d.createElement("div",{className:"DocSearch-Hit-content-wrapper"},d.createElement(Je,{className:"DocSearch-Hit-title",hit:t,attribute:"content"}),d.createElement(Je,{className:"DocSearch-Hit-path",hit:t,attribute:"hierarchy.lvl1"})),o({item:t,runDeleteTransition:function(y){f(!0),v.current=y},runFavoriteTransition:function(y){g(!0),v.current=y}}))))}function lc(e,t,n){return e.reduce(function(r,o){var i=t(o);return r.hasOwnProperty(i)||(r[i]=[]),r[i].length<(n||5)&&r[i].push(o),r},{})}function sc(e){return e}function Tn(e){return e.button===1||e.altKey||e.ctrlKey||e.metaKey||e.shiftKey}function Lp(){}var Zc=/(<mark>|<\/mark>)/g,Mp=RegExp(Zc.source);function Xc(e){var t,n,r=e;if(!r.__docsearch_parent&&!e._highlightResult)return e.hierarchy.lvl0;var o=((r.__docsearch_parent?(t=r.__docsearch_parent)===null||t===void 0||(t=t._highlightResult)===null||t===void 0||(t=t.hierarchy)===null||t===void 0?void 0:t.lvl0:(n=e._highlightResult)===null||n===void 0||(n=n.hierarchy)===null||n===void 0?void 0:n.lvl0)||{}).value;return o&&Mp.test(o)?o.replace(Zc,""):o}function vo(){return vo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},vo.apply(this,arguments)}function Hp(e){return d.createElement("div",{className:"DocSearch-Dropdown-Container"},e.state.collections.map(function(t){if(t.items.length===0)return null;var n=Xc(t.items[0]);return d.createElement(go,vo({},e,{key:t.source.sourceId,title:n,collection:t,renderIcon:function(r){var o,i=r.item,a=r.index;return d.createElement(d.Fragment,null,i.__docsearch_parent&&d.createElement("svg",{className:"DocSearch-Hit-Tree",viewBox:"0 0 24 54"},d.createElement("g",{stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"},i.__docsearch_parent!==((o=t.items[a+1])===null||o===void 0?void 0:o.__docsearch_parent)?d.createElement("path",{d:"M8 6v21M20 27H8.3"}):d.createElement("path",{d:"M8 6v42M20 27H8.3"}))),d.createElement("div",{className:"DocSearch-Hit-icon"},d.createElement(Op,{type:i.type})))},renderAction:function(){return d.createElement("div",{className:"DocSearch-Hit-action"},d.createElement(bp,null))}}))}),e.resultsFooterComponent&&d.createElement("section",{className:"DocSearch-HitsFooter"},d.createElement(e.resultsFooterComponent,{state:e.state})))}var qp=["translations"];function Vn(){return Vn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Vn.apply(this,arguments)}function Fp(e,t){if(e==null)return{};var n,r,o=function(a,c){if(a==null)return{};var u,s,l={},f=Object.keys(a);for(s=0;s<f.length;s++)u=f[s],c.indexOf(u)>=0||(l[u]=a[u]);return l}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Bp(e){var t=e.translations,n=t===void 0?{}:t,r=Fp(e,qp),o=n.recentSearchesTitle,i=o===void 0?"Recent":o,a=n.noRecentSearchesText,c=a===void 0?"No recent searches":a,u=n.saveRecentSearchButtonTitle,s=u===void 0?"Save this search":u,l=n.removeRecentSearchButtonTitle,f=l===void 0?"Remove this search from history":l,p=n.favoriteSearchesTitle,m=p===void 0?"Favorite":p,g=n.removeFavoriteSearchButtonTitle,v=g===void 0?"Remove this search from favorites":g;return r.state.status==="idle"&&r.hasCollections===!1?r.disableUserPersonalization?null:d.createElement("div",{className:"DocSearch-StartScreen"},d.createElement("p",{className:"DocSearch-Help"},c)):r.hasCollections===!1?null:d.createElement("div",{className:"DocSearch-Dropdown-Container"},d.createElement(go,Vn({},r,{title:i,collection:r.state.collections[0],renderIcon:function(){return d.createElement("div",{className:"DocSearch-Hit-icon"},d.createElement(_p,null))},renderAction:function(h){var y=h.item,_=h.runFavoriteTransition,w=h.runDeleteTransition;return d.createElement(d.Fragment,null,d.createElement("div",{className:"DocSearch-Hit-action"},d.createElement("button",{className:"DocSearch-Hit-action-button",title:s,type:"submit",onClick:function(O){O.preventDefault(),O.stopPropagation(),_(function(){r.favoriteSearches.add(y),r.recentSearches.remove(y),r.refresh()})}},d.createElement(rc,null))),d.createElement("div",{className:"DocSearch-Hit-action"},d.createElement("button",{className:"DocSearch-Hit-action-button",title:f,type:"submit",onClick:function(O){O.preventDefault(),O.stopPropagation(),w(function(){r.recentSearches.remove(y),r.refresh()})}},d.createElement(ho,null))))}})),d.createElement(go,Vn({},r,{title:m,collection:r.state.collections[1],renderIcon:function(){return d.createElement("div",{className:"DocSearch-Hit-icon"},d.createElement(rc,null))},renderAction:function(h){var y=h.item,_=h.runDeleteTransition;return d.createElement("div",{className:"DocSearch-Hit-action"},d.createElement("button",{className:"DocSearch-Hit-action-button",title:v,type:"submit",onClick:function(w){w.preventDefault(),w.stopPropagation(),_(function(){r.favoriteSearches.remove(y),r.refresh()})}},d.createElement(ho,null)))}})))}var $p=["translations"];function Wn(){return Wn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Wn.apply(this,arguments)}function Up(e,t){if(e==null)return{};var n,r,o=function(a,c){if(a==null)return{};var u,s,l={},f=Object.keys(a);for(s=0;s<f.length;s++)u=f[s],c.indexOf(u)>=0||(l[u]=a[u]);return l}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Vp=d.memo(function(e){var t=e.translations,n=t===void 0?{}:t,r=Up(e,$p);if(r.state.status==="error")return d.createElement(Ap,{translations:n?.errorScreen});var o=r.state.collections.some(function(i){return i.items.length>0});return r.state.query?o===!1?d.createElement(Dp,Wn({},r,{translations:n?.noResultsScreen})):d.createElement(Hp,r):d.createElement(Bp,Wn({},r,{hasCollections:o,translations:n?.startScreen}))},function(e,t){return t.state.status==="loading"||t.state.status==="stalled"}),Wp=["translations"];function Kn(){return Kn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Kn.apply(this,arguments)}function Kp(e,t){if(e==null)return{};var n,r,o=function(a,c){if(a==null)return{};var u,s,l={},f=Object.keys(a);for(s=0;s<f.length;s++)u=f[s],c.indexOf(u)>=0||(l[u]=a[u]);return l}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function zp(e){var t=e.translations,n=t===void 0?{}:t,r=Kp(e,Wp),o=n.resetButtonTitle,i=o===void 0?"Clear the query":o,a=n.resetButtonAriaLabel,c=a===void 0?"Clear the query":a,u=n.cancelButtonText,s=u===void 0?"Cancel":u,l=n.cancelButtonAriaLabel,f=l===void 0?"Cancel":l,p=r.getFormProps({inputElement:r.inputRef.current}).onReset;return d.useEffect(function(){r.autoFocus&&r.inputRef.current&&r.inputRef.current.focus()},[r.autoFocus,r.inputRef]),d.useEffect(function(){r.isFromSelection&&r.inputRef.current&&r.inputRef.current.select()},[r.isFromSelection,r.inputRef]),d.createElement(d.Fragment,null,d.createElement("form",{className:"DocSearch-Form",onSubmit:function(m){m.preventDefault()},onReset:p},d.createElement("label",Kn({className:"DocSearch-MagnifierLabel"},r.getLabelProps()),d.createElement(Uc,null)),d.createElement("div",{className:"DocSearch-LoadingIndicator"},d.createElement(yp,null)),d.createElement("input",Kn({className:"DocSearch-Input",ref:r.inputRef},r.getInputProps({inputElement:r.inputRef.current,autoFocus:r.autoFocus,maxLength:64}))),d.createElement("button",{type:"reset",title:i,className:"DocSearch-Reset","aria-label":c,hidden:!r.state.query},d.createElement(ho,null))),d.createElement("button",{className:"DocSearch-Cancel",type:"reset","aria-label":f,onClick:r.onClose},s))}var Jp=["_highlightResult","_snippetResult"];function Yp(e,t){if(e==null)return{};var n,r,o=function(a,c){if(a==null)return{};var u,s,l={},f=Object.keys(a);for(s=0;s<f.length;s++)u=f[s],c.indexOf(u)>=0||(l[u]=a[u]);return l}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Zp(e){return function(){var t="__TEST_KEY__";try{return localStorage.setItem(t,""),localStorage.removeItem(t),!0}catch{return!1}}()===!1?{setItem:function(){},getItem:function(){return[]}}:{setItem:function(t){return window.localStorage.setItem(e,JSON.stringify(t))},getItem:function(){var t=window.localStorage.getItem(e);return t?JSON.parse(t):[]}}}function fc(e){var t=e.key,n=e.limit,r=n===void 0?5:n,o=Zp(t),i=o.getItem().slice(0,r);return{add:function(a){var c=a,u=(c._highlightResult,c._snippetResult,Yp(c,Jp)),s=i.findIndex(function(l){return l.objectID===u.objectID});s>-1&&i.splice(s,1),i.unshift(u),i=i.slice(0,r),o.setItem(i)},remove:function(a){i=i.filter(function(c){return c.objectID!==a.objectID}),o.setItem(i)},getAll:function(){return i}}}var Xp=["facetName","facetQuery"];function Qp(e){var t,n="algoliasearch-client-js-".concat(e.key),r=function(){return t===void 0&&(t=e.localStorage||window.localStorage),t},o=function(){return JSON.parse(r().getItem(n)||"{}")},i=function(c){r().setItem(n,JSON.stringify(c))},a=function(){var c=e.timeToLive?1e3*e.timeToLive:null,u=o(),s=Object.fromEntries(Object.entries(u).filter(function(f){return Ze(f,2)[1].timestamp!==void 0}));if(i(s),c){var l=Object.fromEntries(Object.entries(s).filter(function(f){var p=Ze(f,2)[1],m=new Date().getTime();return!(p.timestamp+c<m)}));i(l)}};return{get:function(c,u){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}};return Promise.resolve().then(function(){a();var l=JSON.stringify(c);return o()[l]}).then(function(l){return Promise.all([l?l.value:u(),l!==void 0])}).then(function(l){var f=Ze(l,2),p=f[0],m=f[1];return Promise.all([p,m||s.miss(p)])}).then(function(l){return Ze(l,1)[0]})},set:function(c,u){return Promise.resolve().then(function(){var s=o();return s[JSON.stringify(c)]={timestamp:new Date().getTime(),value:u},r().setItem(n,JSON.stringify(s)),u})},delete:function(c){return Promise.resolve().then(function(){var u=o();delete u[JSON.stringify(c)],r().setItem(n,JSON.stringify(u))})},clear:function(){return Promise.resolve().then(function(){r().removeItem(n)})}}}function It(e){var t=Hn(e.caches),n=t.shift();return n===void 0?{get:function(r,o){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}};return o().then(function(a){return Promise.all([a,i.miss(a)])}).then(function(a){return Ze(a,1)[0]})},set:function(r,o){return Promise.resolve(o)},delete:function(r){return Promise.resolve()},clear:function(){return Promise.resolve()}}:{get:function(r,o){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}};return n.get(r,o,i).catch(function(){return It({caches:t}).get(r,o,i)})},set:function(r,o){return n.set(r,o).catch(function(){return It({caches:t}).set(r,o)})},delete:function(r){return n.delete(r).catch(function(){return It({caches:t}).delete(r)})},clear:function(){return n.clear().catch(function(){return It({caches:t}).clear()})}}}function ro(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{serializable:!0},t={};return{get:function(n,r){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}},i=JSON.stringify(n);if(i in t)return Promise.resolve(e.serializable?JSON.parse(t[i]):t[i]);var a=r(),c=o&&o.miss||function(){return Promise.resolve()};return a.then(function(u){return c(u)}).then(function(){return a})},set:function(n,r){return t[JSON.stringify(n)]=e.serializable?JSON.stringify(r):r,Promise.resolve(r)},delete:function(n){return delete t[JSON.stringify(n)],Promise.resolve()},clear:function(){return t={},Promise.resolve()}}}function Gp(e){for(var t=e.length-1;t>0;t--){var n=Math.floor(Math.random()*(t+1)),r=e[t];e[t]=e[n],e[n]=r}return e}function Qc(e,t){return t&&Object.keys(t).forEach(function(n){e[n]=t[n](e)}),e}function zn(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=0;return e.replace(/%s/g,function(){return encodeURIComponent(n[o++])})}var Mn={WithinQueryParameters:0,WithinHeaders:1};function pc(e,t){var n=e||{},r=n.data||{};return Object.keys(n).forEach(function(o){["timeout","headers","queryParameters","data","cacheable"].indexOf(o)===-1&&(r[o]=n[o])}),{data:Object.entries(r).length>0?r:void 0,timeout:n.timeout||t,headers:n.headers||{},queryParameters:n.queryParameters||{},cacheable:n.cacheable}}var Qe={Read:1,Write:2,Any:3},Gc=1,ed=2,eu=3;function tu(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Gc;return I(I({},e),{},{status:t,lastUpdate:Date.now()})}function nu(e){return typeof e=="string"?{protocol:"https",url:e,accept:Qe.Any}:{protocol:e.protocol||"https",url:e.url,accept:e.accept||Qe.Any}}var yo="GET",Jn="POST";function td(e,t){return Promise.all(t.map(function(n){return e.get(n,function(){return Promise.resolve(tu(n))})})).then(function(n){var r=n.filter(function(a){return function(c){return c.status===Gc||Date.now()-c.lastUpdate>12e4}(a)}),o=n.filter(function(a){return function(c){return c.status===eu&&Date.now()-c.lastUpdate<=12e4}(a)}),i=[].concat(Hn(r),Hn(o));return{getTimeout:function(a,c){return(o.length===0&&a===0?1:o.length+3+a)*c},statelessHosts:i.length>0?i.map(function(a){return nu(a)}):t}})}function dc(e,t,n,r){var o=[],i=function(p,m){if(!(p.method===yo||p.data===void 0&&m.data===void 0)){var g=Array.isArray(p.data)?p.data:I(I({},p.data),m.data);return JSON.stringify(g)}}(n,r),a=function(p,m){var g=I(I({},p.headers),m.headers),v={};return Object.keys(g).forEach(function(h){var y=g[h];v[h.toLowerCase()]=y}),v}(e,r),c=n.method,u=n.method!==yo?{}:I(I({},n.data),r.data),s=I(I(I({"x-algolia-agent":e.userAgent.value},e.queryParameters),u),r.queryParameters),l=0,f=function p(m,g){var v=m.pop();if(v===void 0)throw{name:"RetryError",message:"Unreachable hosts - your application id may be incorrect. If the error persists, contact support@algolia.com.",transporterStackTrace:mc(o)};var h={data:i,headers:a,method:c,url:rd(v,n.path,s),connectTimeout:g(l,e.timeouts.connect),responseTimeout:g(l,r.timeout)},y=function(w){var O={request:h,response:w,host:v,triesLeft:m.length};return o.push(O),O},_={onSuccess:function(w){return function(O){try{return JSON.parse(O.content)}catch(b){throw function(x,A){return{name:"DeserializationError",message:x,response:A}}(b.message,O)}}(w)},onRetry:function(w){var O=y(w);return w.isTimedOut&&l++,Promise.all([e.logger.info("Retryable failure",ou(O)),e.hostsCache.set(v,tu(v,w.isTimedOut?eu:ed))]).then(function(){return p(m,g)})},onFail:function(w){throw y(w),function(O,b){var x=O.content,A=O.status,N=x;try{N=JSON.parse(x).message}catch{}return function(k,P,L){return{name:"ApiError",message:k,status:P,transporterStackTrace:L}}(N,A,b)}(w,mc(o))}};return e.requester.send(h).then(function(w){return function(O,b){return function(x){var A=x.status;return x.isTimedOut||function(N){var k=N.isTimedOut,P=N.status;return!k&&~~P==0}(x)||~~(A/100)!=2&&~~(A/100)!=4}(O)?b.onRetry(O):~~(O.status/100)==2?b.onSuccess(O):b.onFail(O)}(w,_)})};return td(e.hostsCache,t).then(function(p){return f(Hn(p.statelessHosts).reverse(),p.getTimeout)})}function nd(e){var t={value:"Algolia for JavaScript (".concat(e,")"),add:function(n){var r="; ".concat(n.segment).concat(n.version!==void 0?" (".concat(n.version,")"):"");return t.value.indexOf(r)===-1&&(t.value="".concat(t.value).concat(r)),t}};return t}function rd(e,t,n){var r=ru(n),o="".concat(e.protocol,"://").concat(e.url,"/").concat(t.charAt(0)==="/"?t.substr(1):t);return r.length&&(o+="?".concat(r)),o}function ru(e){return Object.keys(e).map(function(t){return zn("%s=%s",t,(n=e[t],Object.prototype.toString.call(n)==="[object Object]"||Object.prototype.toString.call(n)==="[object Array]"?JSON.stringify(e[t]):e[t]));var n}).join("&")}function mc(e){return e.map(function(t){return ou(t)})}function ou(e){var t=e.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return I(I({},e),{},{request:I(I({},e.request),{},{headers:I(I({},e.request.headers),t)})})}var od=function(e){var t=e.appId,n=function(i,a,c){var u={"x-algolia-api-key":c,"x-algolia-application-id":a};return{headers:function(){return i===Mn.WithinHeaders?u:{}},queryParameters:function(){return i===Mn.WithinQueryParameters?u:{}}}}(e.authMode!==void 0?e.authMode:Mn.WithinHeaders,t,e.apiKey),r=function(i){var a=i.hostsCache,c=i.logger,u=i.requester,s=i.requestsCache,l=i.responsesCache,f=i.timeouts,p=i.userAgent,m=i.hosts,g=i.queryParameters,v={hostsCache:a,logger:c,requester:u,requestsCache:s,responsesCache:l,timeouts:f,userAgent:p,headers:i.headers,queryParameters:g,hosts:m.map(function(h){return nu(h)}),read:function(h,y){var _=pc(y,v.timeouts.read),w=function(){return dc(v,v.hosts.filter(function(b){return(b.accept&Qe.Read)!=0}),h,_)};if((_.cacheable!==void 0?_.cacheable:h.cacheable)!==!0)return w();var O={request:h,mappedRequestOptions:_,transporter:{queryParameters:v.queryParameters,headers:v.headers}};return v.responsesCache.get(O,function(){return v.requestsCache.get(O,function(){return v.requestsCache.set(O,w()).then(function(b){return Promise.all([v.requestsCache.delete(O),b])},function(b){return Promise.all([v.requestsCache.delete(O),Promise.reject(b)])}).then(function(b){var x=Ze(b,2);return x[0],x[1]})})},{miss:function(b){return v.responsesCache.set(O,b)}})},write:function(h,y){return dc(v,v.hosts.filter(function(_){return(_.accept&Qe.Write)!=0}),h,pc(y,v.timeouts.write))}};return v}(I(I({hosts:[{url:"".concat(t,"-dsn.algolia.net"),accept:Qe.Read},{url:"".concat(t,".algolia.net"),accept:Qe.Write}].concat(Gp([{url:"".concat(t,"-1.algolianet.com")},{url:"".concat(t,"-2.algolianet.com")},{url:"".concat(t,"-3.algolianet.com")}]))},e),{},{headers:I(I(I({},n.headers()),{"content-type":"application/x-www-form-urlencoded"}),e.headers),queryParameters:I(I({},n.queryParameters()),e.queryParameters)})),o={transporter:r,appId:t,addAlgoliaAgent:function(i,a){r.userAgent.add({segment:i,version:a})},clearCache:function(){return Promise.all([r.requestsCache.clear(),r.responsesCache.clear()]).then(function(){})}};return Qc(o,e.methods)},id=function(e){return function(t,n){return t.method===yo?e.transporter.read(t,n):e.transporter.write(t,n)}},iu=function(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r={transporter:e.transporter,appId:e.appId,indexName:t};return Qc(r,n.methods)}},hc=function(e){return function(t,n){var r=t.map(function(o){return I(I({},o),{},{params:ru(o.params||{})})});return e.transporter.read({method:Jn,path:"1/indexes/*/queries",data:{requests:r},cacheable:!0},n)}},gc=function(e){return function(t,n){return Promise.all(t.map(function(r){var o=r.params,i=o.facetName,a=o.facetQuery,c=Gs(o,Xp);return iu(e)(r.indexName,{methods:{searchForFacetValues:au}}).searchForFacetValues(i,a,I(I({},n),c))}))}},ad=function(e){return function(t,n,r){return e.transporter.read({method:Jn,path:zn("1/answers/%s/prediction",e.indexName),data:{query:t,queryLanguages:n},cacheable:!0},r)}},cd=function(e){return function(t,n){return e.transporter.read({method:Jn,path:zn("1/indexes/%s/query",e.indexName),data:{query:t},cacheable:!0},n)}},au=function(e){return function(t,n,r){return e.transporter.read({method:Jn,path:zn("1/indexes/%s/facets/%s/query",e.indexName,t),data:{facetQuery:n},cacheable:!0},r)}},ud=1,ld=2,sd=3;function cu(e,t,n){var r,o={appId:e,apiKey:t,timeouts:{connect:1,read:2,write:30},requester:{send:function(i){return new Promise(function(a){var c=new XMLHttpRequest;c.open(i.method,i.url,!0),Object.keys(i.headers).forEach(function(f){return c.setRequestHeader(f,i.headers[f])});var u,s=function(f,p){return setTimeout(function(){c.abort(),a({status:0,content:p,isTimedOut:!0})},1e3*f)},l=s(i.connectTimeout,"Connection timeout");c.onreadystatechange=function(){c.readyState>c.OPENED&&u===void 0&&(clearTimeout(l),u=s(i.responseTimeout,"Socket timeout"))},c.onerror=function(){c.status===0&&(clearTimeout(l),clearTimeout(u),a({content:c.responseText||"Network request failed",status:c.status,isTimedOut:!1}))},c.onload=function(){clearTimeout(l),clearTimeout(u),a({content:c.responseText,status:c.status,isTimedOut:!1})},c.send(i.data)})}},logger:(r=sd,{debug:function(i,a){return ud>=r&&console.debug(i,a),Promise.resolve()},info:function(i,a){return ld>=r&&console.info(i,a),Promise.resolve()},error:function(i,a){return console.error(i,a),Promise.resolve()}}),responsesCache:ro(),requestsCache:ro({serializable:!1}),hostsCache:It({caches:[Qp({key:"".concat("4.19.1","-").concat(e)}),ro()]}),userAgent:nd("4.19.1").add({segment:"Browser",version:"lite"}),authMode:Mn.WithinQueryParameters};return od(I(I(I({},o),n),{},{methods:{search:hc,searchForFacetValues:gc,multipleQueries:hc,multipleSearchForFacetValues:gc,customRequest:id,initIndex:function(i){return function(a){return iu(i)(a,{methods:{search:cd,searchForFacetValues:au,findAnswers:ad}})}}}}))}cu.version="4.19.1";var fd=["footer","searchBox"];function Vt(){return Vt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Vt.apply(this,arguments)}function vc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function oo(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?vc(Object(n),!0).forEach(function(r){pd(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vc(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function pd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dd(e,t){return function(n){if(Array.isArray(n))return n}(e)||function(n,r){var o=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(o!=null){var i,a,c=[],u=!0,s=!1;try{for(o=o.call(n);!(u=(i=o.next()).done)&&(c.push(i.value),!r||c.length!==r);u=!0);}catch(l){s=!0,a=l}finally{try{u||o.return==null||o.return()}finally{if(s)throw a}}return c}}(e,t)||function(n,r){if(n){if(typeof n=="string")return yc(n,r);var o=Object.prototype.toString.call(n).slice(8,-1);if(o==="Object"&&n.constructor&&(o=n.constructor.name),o==="Map"||o==="Set")return Array.from(n);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return yc(n,r)}}(e,t)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function yc(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function md(e,t){if(e==null)return{};var n,r,o=function(a,c){if(a==null)return{};var u,s,l={},f=Object.keys(a);for(s=0;s<f.length;s++)u=f[s],c.indexOf(u)>=0||(l[u]=a[u]);return l}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function hd(e){var t=e.appId,n=e.apiKey,r=e.indexName,o=e.placeholder,i=o===void 0?"Search docs":o,a=e.searchParameters,c=e.maxResultsPerGroup,u=e.onClose,s=u===void 0?Lp:u,l=e.transformItems,f=l===void 0?sc:l,p=e.hitComponent,m=p===void 0?vp:p,g=e.resultsFooterComponent,v=g===void 0?function(){return null}:g,h=e.navigator,y=e.initialScrollY,_=y===void 0?0:y,w=e.transformSearchClient,O=w===void 0?sc:w,b=e.disableUserPersonalization,x=b!==void 0&&b,A=e.initialQuery,N=A===void 0?"":A,k=e.translations,P=k===void 0?{}:k,L=e.getMissingResultsUrl,T=e.insights,F=T!==void 0&&T,D=P.footer,W=P.searchBox,K=md(P,fd),z=dd(d.useState({query:"",collections:[],completion:null,context:{},isOpen:!1,activeItemId:null,status:"idle"}),2),Z=z[0],Mu=z[1],Io=d.useRef(null),rr=d.useRef(null),Co=d.useRef(null),nn=d.useRef(null),ut=d.useRef(null),me=d.useRef(10),Do=d.useRef(typeof window<"u"?window.getSelection().toString().slice(0,64):"").current,Ee=d.useRef(N||Do).current,ko=function(E,C,B){return d.useMemo(function(){var J=cu(E,C);return J.addAlgoliaAgent("docsearch","3.5.2"),/docsearch.js \(.*\)/.test(J.transporter.userAgent.value)===!1&&J.addAlgoliaAgent("docsearch-react","3.5.2"),B(J)},[E,C,B])}(t,n,O),qe=d.useRef(fc({key:"__DOCSEARCH_FAVORITE_SEARCHES__".concat(r),limit:10})).current,lt=d.useRef(fc({key:"__DOCSEARCH_RECENT_SEARCHES__".concat(r),limit:qe.getAll().length===0?7:4})).current,st=d.useCallback(function(E){if(!x){var C=E.type==="content"?E.__docsearch_parent:E;C&&qe.getAll().findIndex(function(B){return B.objectID===C.objectID})===-1&&lt.add(C)}},[qe,lt,x]),Hu=d.useCallback(function(E){if(Z.context.algoliaInsightsPlugin&&E.__autocomplete_id){var C=E,B={eventName:"Item Selected",index:C.__autocomplete_indexName,items:[C],positions:[E.__autocomplete_id],queryID:C.__autocomplete_queryID};Z.context.algoliaInsightsPlugin.insights.clickedObjectIDsAfterSearch(B)}},[Z.context.algoliaInsightsPlugin]),ft=d.useMemo(function(){return mp({id:"docsearch",defaultActiveItemId:0,placeholder:i,openOnFocus:!0,initialState:{query:Ee,context:{searchSuggestions:[]}},insights:F,navigator:h,onStateChange:function(E){Mu(E.state)},getSources:function(E){var C=E.query,B=E.state,J=E.setContext,he=E.setStatus;if(!C)return x?[]:[{sourceId:"recentSearches",onSelect:function(M){var te=M.item,pt=M.event;st(te),Tn(pt)||s()},getItemUrl:function(M){return M.item.url},getItems:function(){return lt.getAll()}},{sourceId:"favoriteSearches",onSelect:function(M){var te=M.item,pt=M.event;st(te),Tn(pt)||s()},getItemUrl:function(M){return M.item.url},getItems:function(){return qe.getAll()}}];var ge=!!F;return ko.search([{query:C,indexName:r,params:oo({attributesToRetrieve:["hierarchy.lvl0","hierarchy.lvl1","hierarchy.lvl2","hierarchy.lvl3","hierarchy.lvl4","hierarchy.lvl5","hierarchy.lvl6","content","type","url"],attributesToSnippet:["hierarchy.lvl1:".concat(me.current),"hierarchy.lvl2:".concat(me.current),"hierarchy.lvl3:".concat(me.current),"hierarchy.lvl4:".concat(me.current),"hierarchy.lvl5:".concat(me.current),"hierarchy.lvl6:".concat(me.current),"content:".concat(me.current)],snippetEllipsisText:"\u2026",highlightPreTag:"<mark>",highlightPostTag:"</mark>",hitsPerPage:20,clickAnalytics:ge},a)}]).catch(function(M){throw M.name==="RetryError"&&he("error"),M}).then(function(M){var te=M.results[0],pt=te.hits,Bu=te.nbHits,or=lc(pt,function(ir){return Xc(ir)},c);B.context.searchSuggestions.length<Object.keys(or).length&&J({searchSuggestions:Object.keys(or)}),J({nbHits:Bu});var Ro={};return ge&&(Ro={__autocomplete_indexName:r,__autocomplete_queryID:te.queryID,__autocomplete_algoliaCredentials:{appId:t,apiKey:n}}),Object.values(or).map(function(ir,$u){return{sourceId:"hits".concat($u),onSelect:function(ae){var dt=ae.item,rn=ae.event;st(dt),Tn(rn)||s()},getItemUrl:function(ae){return ae.item.url},getItems:function(){return Object.values(lc(ir,function(ae){return ae.hierarchy.lvl1},c)).map(f).map(function(ae){return ae.map(function(dt){var rn=null,No=ae.find(function(Lo){return Lo.type==="lvl1"&&Lo.hierarchy.lvl1===dt.hierarchy.lvl1});return dt.type!=="lvl1"&&No&&(rn=No),oo(oo({},dt),{},{__docsearch_parent:rn},Ro)})}).flat()}}})})}})},[r,a,c,ko,s,lt,qe,st,Ee,i,h,f,x,F,t,n]),qu=ft.getEnvironmentProps,Fu=ft.getRootProps,To=ft.refresh;return function(E){var C=E.getEnvironmentProps,B=E.panelElement,J=E.formElement,he=E.inputElement;d.useEffect(function(){if(B&&J&&he){var ge=C({panelElement:B,formElement:J,inputElement:he}),M=ge.onTouchStart,te=ge.onTouchMove;return window.addEventListener("touchstart",M),window.addEventListener("touchmove",te),function(){window.removeEventListener("touchstart",M),window.removeEventListener("touchmove",te)}}},[C,B,J,he])}({getEnvironmentProps:qu,panelElement:nn.current,formElement:Co.current,inputElement:ut.current}),function(E){var C=E.container;d.useEffect(function(){if(C){var B=C.querySelectorAll("a[href]:not([disabled]), button:not([disabled]), input:not([disabled])"),J=B[0],he=B[B.length-1];return C.addEventListener("keydown",ge),function(){C.removeEventListener("keydown",ge)}}function ge(M){M.key==="Tab"&&(M.shiftKey?document.activeElement===J&&(M.preventDefault(),he.focus()):document.activeElement===he&&(M.preventDefault(),J.focus()))}},[C])}({container:Io.current}),d.useEffect(function(){return document.body.classList.add("DocSearch--active"),function(){var E,C;document.body.classList.remove("DocSearch--active"),(E=(C=window).scrollTo)===null||E===void 0||E.call(C,0,_)}},[]),d.useEffect(function(){window.matchMedia("(max-width: 768px)").matches&&(me.current=5)},[]),d.useEffect(function(){nn.current&&(nn.current.scrollTop=0)},[Z.query]),d.useEffect(function(){Ee.length>0&&(To(),ut.current&&ut.current.focus())},[Ee,To]),d.useEffect(function(){function E(){if(rr.current){var C=.01*window.innerHeight;rr.current.style.setProperty("--docsearch-vh","".concat(C,"px"))}}return E(),window.addEventListener("resize",E),function(){window.removeEventListener("resize",E)}},[]),d.createElement("div",Vt({ref:Io},Fu({"aria-expanded":!0}),{className:["DocSearch","DocSearch-Container",Z.status==="stalled"&&"DocSearch-Container--Stalled",Z.status==="error"&&"DocSearch-Container--Errored"].filter(Boolean).join(" "),role:"button",tabIndex:0,onMouseDown:function(E){E.target===E.currentTarget&&s()}}),d.createElement("div",{className:"DocSearch-Modal",ref:rr},d.createElement("header",{className:"DocSearch-SearchBar",ref:Co},d.createElement(zp,Vt({},ft,{state:Z,autoFocus:Ee.length===0,inputRef:ut,isFromSelection:!!Ee&&Ee===Do,translations:W,onClose:s}))),d.createElement("div",{className:"DocSearch-Dropdown",ref:nn},d.createElement(Vp,Vt({},ft,{indexName:r,state:Z,hitComponent:m,resultsFooterComponent:v,disableUserPersonalization:x,recentSearches:lt,favoriteSearches:qe,inputRef:ut,translations:K,getMissingResultsUrl:L,onItemClick:function(E,C){Hu(E),st(E),Tn(C)||s()}}))),d.createElement("footer",{className:"DocSearch-Footer"},d.createElement(gp,{translations:D}))))}function _o(){return _o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_o.apply(this,arguments)}function _c(e,t){return function(n){if(Array.isArray(n))return n}(e)||function(n,r){var o=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(o!=null){var i,a,c=[],u=!0,s=!1;try{for(o=o.call(n);!(u=(i=o.next()).done)&&(c.push(i.value),!r||c.length!==r);u=!0);}catch(l){s=!0,a=l}finally{try{u||o.return==null||o.return()}finally{if(s)throw a}}return c}}(e,t)||function(n,r){if(n){if(typeof n=="string")return bc(n,r);var o=Object.prototype.toString.call(n).slice(8,-1);if(o==="Object"&&n.constructor&&(o=n.constructor.name),o==="Map"||o==="Set")return Array.from(n);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return bc(n,r)}}(e,t)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function bc(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function gd(e){var t,n,r=d.useRef(null),o=_c(d.useState(!1),2),i=o[0],a=o[1],c=_c(d.useState(e?.initialQuery||void 0),2),u=c[0],s=c[1],l=d.useCallback(function(){a(!0)},[a]),f=d.useCallback(function(){a(!1)},[a]);return function(p){var m=p.isOpen,g=p.onOpen,v=p.onClose,h=p.onInput,y=p.searchButtonRef;d.useEffect(function(){function _(w){var O;(w.keyCode===27&&m||((O=w.key)===null||O===void 0?void 0:O.toLowerCase())==="k"&&(w.metaKey||w.ctrlKey)||!function(b){var x=b.target,A=x.tagName;return x.isContentEditable||A==="INPUT"||A==="SELECT"||A==="TEXTAREA"}(w)&&w.key==="/"&&!m)&&(w.preventDefault(),m?v():document.body.classList.contains("DocSearch--active")||document.body.classList.contains("DocSearch--active")||g()),y&&y.current===document.activeElement&&h&&/[a-zA-Z0-9]/.test(String.fromCharCode(w.keyCode))&&h(w)}return window.addEventListener("keydown",_),function(){window.removeEventListener("keydown",_)}},[m,g,v,h,y])}({isOpen:i,onOpen:l,onClose:f,onInput:d.useCallback(function(p){a(!0),s(p.key)},[a,s]),searchButtonRef:r}),d.createElement(d.Fragment,null,d.createElement(wf,{ref:r,translations:e==null||(t=e.translations)===null||t===void 0?void 0:t.button,onClick:l}),i&&qc(d.createElement(hd,_o({},e,{initialScrollY:window.scrollY,initialQuery:u,translations:e==null||(n=e.translations)===null||n===void 0?void 0:n.modal,onClose:f})),document.body))}function vd(e){Bc(d.createElement(gd,io({},e,{transformSearchClient:function(t){return t.addAlgoliaAgent("docsearch.js","3.5.2"),e.transformSearchClient?e.transformSearchClient(t):t}})),function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:window;return typeof t=="string"?n.document.querySelector(t):t}(e.container,e.environment))}var uu=vd;var So={};Vu(So,{apikey:()=>yd,appid:()=>_d,default:()=>wd,indexname:()=>bd});var yd="2899036ce47dba191b8dc1758e4bc6a4",_d="3XRLW0LZH9",bd="docker",wd={apikey:yd,appid:_d,indexname:bd};var Le=Math.min,Se=Math.max,Xt=Math.round;var fe=e=>({x:e,y:e}),Od={left:"right",right:"left",bottom:"top",top:"bottom"},Sd={start:"end",end:"start"};function Xn(e,t,n){return Se(e,Le(t,n))}function ot(e,t){return typeof e=="function"?e(t):e}function xe(e){return e.split("-")[0]}function it(e){return e.split("-")[1]}function xo(e){return e==="x"?"y":"x"}function Qn(e){return e==="y"?"height":"width"}function Qt(e){return["top","bottom"].includes(xe(e))?"y":"x"}function Gn(e){return xo(Qt(e))}function lu(e,t,n){n===void 0&&(n=!1);let r=it(e),o=Gn(e),i=Qn(o),a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=Zt(a)),[a,Zt(a)]}function su(e){let t=Zt(e);return[Zn(e),t,Zn(t)]}function Zn(e){return e.replace(/start|end/g,t=>Sd[t])}function xd(e,t,n){let r=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:a;default:return[]}}function fu(e,t,n,r){let o=it(e),i=xd(xe(e),n==="start",r);return o&&(i=i.map(a=>a+"-"+o),t&&(i=i.concat(i.map(Zn)))),i}function Zt(e){return e.replace(/left|right|bottom|top/g,t=>Od[t])}function Ed(e){return{top:0,right:0,bottom:0,left:0,...e}}function Eo(e){return typeof e!="number"?Ed(e):{top:e,right:e,bottom:e,left:e}}function Me(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function pu(e,t,n){let{reference:r,floating:o}=e,i=Qt(t),a=Gn(t),c=Qn(a),u=xe(t),s=i==="y",l=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,p=r[c]/2-o[c]/2,m;switch(u){case"top":m={x:l,y:r.y-o.height};break;case"bottom":m={x:l,y:r.y+r.height};break;case"right":m={x:r.x+r.width,y:f};break;case"left":m={x:r.x-o.width,y:f};break;default:m={x:r.x,y:r.y}}switch(it(t)){case"start":m[a]-=p*(n&&s?-1:1);break;case"end":m[a]+=p*(n&&s?-1:1);break}return m}var du=async(e,t,n)=>{let{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,c=i.filter(Boolean),u=await(a.isRTL==null?void 0:a.isRTL(t)),s=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:l,y:f}=pu(s,r,u),p=r,m={},g=0;for(let v=0;v<c.length;v++){let{name:h,fn:y}=c[v],{x:_,y:w,data:O,reset:b}=await y({x:l,y:f,initialPlacement:r,placement:p,strategy:o,middlewareData:m,rects:s,platform:a,elements:{reference:e,floating:t}});l=_??l,f=w??f,m={...m,[h]:{...m[h],...O}},b&&g<=50&&(g++,typeof b=="object"&&(b.placement&&(p=b.placement),b.rects&&(s=b.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:o}):b.rects),{x:l,y:f}=pu(s,p,u)),v=-1)}return{x:l,y:f,placement:p,strategy:o,middlewareData:m}};async function jo(e,t){var n;t===void 0&&(t={});let{x:r,y:o,platform:i,rects:a,elements:c,strategy:u}=e,{boundary:s="clippingAncestors",rootBoundary:l="viewport",elementContext:f="floating",altBoundary:p=!1,padding:m=0}=ot(t,e),g=Eo(m),h=c[p?f==="floating"?"reference":"floating":f],y=Me(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(h)))==null||n?h:h.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(c.floating)),boundary:s,rootBoundary:l,strategy:u})),_=f==="floating"?{...a.floating,x:r,y:o}:a.reference,w=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c.floating)),O=await(i.isElement==null?void 0:i.isElement(w))?await(i.getScale==null?void 0:i.getScale(w))||{x:1,y:1}:{x:1,y:1},b=Me(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:_,offsetParent:w,strategy:u}):_);return{top:(y.top-b.top+g.top)/O.y,bottom:(b.bottom-y.bottom+g.bottom)/O.y,left:(y.left-b.left+g.left)/O.x,right:(b.right-y.right+g.right)/O.x}}var mu=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:o,rects:i,platform:a,elements:c,middlewareData:u}=t,{element:s,padding:l=0}=ot(e,t)||{};if(s==null)return{};let f=Eo(l),p={x:n,y:r},m=Gn(o),g=Qn(m),v=await a.getDimensions(s),h=m==="y",y=h?"top":"left",_=h?"bottom":"right",w=h?"clientHeight":"clientWidth",O=i.reference[g]+i.reference[m]-p[m]-i.floating[g],b=p[m]-i.reference[m],x=await(a.getOffsetParent==null?void 0:a.getOffsetParent(s)),A=x?x[w]:0;(!A||!await(a.isElement==null?void 0:a.isElement(x)))&&(A=c.floating[w]||i.floating[g]);let N=O/2-b/2,k=A/2-v[g]/2-1,P=Le(f[y],k),L=Le(f[_],k),T=P,F=A-v[g]-L,D=A/2-v[g]/2+N,W=Xn(T,D,F),K=!u.arrow&&it(o)!=null&&D!==W&&i.reference[g]/2-(D<T?P:L)-v[g]/2<0,z=K?D<T?D-T:D-F:0;return{[m]:p[m]+z,data:{[m]:W,centerOffset:D-W-z,...K&&{alignmentOffset:z}},reset:K}}});var hu=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;let{placement:o,middlewareData:i,rects:a,initialPlacement:c,platform:u,elements:s}=t,{mainAxis:l=!0,crossAxis:f=!0,fallbackPlacements:p,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:v=!0,...h}=ot(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let y=xe(o),_=xe(c)===c,w=await(u.isRTL==null?void 0:u.isRTL(s.floating)),O=p||(_||!v?[Zt(c)]:su(c));!p&&g!=="none"&&O.push(...fu(c,v,g,w));let b=[c,...O],x=await jo(t,h),A=[],N=((r=i.flip)==null?void 0:r.overflows)||[];if(l&&A.push(x[y]),f){let T=lu(o,a,w);A.push(x[T[0]],x[T[1]])}if(N=[...N,{placement:o,overflows:A}],!A.every(T=>T<=0)){var k,P;let T=(((k=i.flip)==null?void 0:k.index)||0)+1,F=b[T];if(F)return{data:{index:T,overflows:N},reset:{placement:F}};let D=(P=N.filter(W=>W.overflows[0]<=0).sort((W,K)=>W.overflows[1]-K.overflows[1])[0])==null?void 0:P.placement;if(!D)switch(m){case"bestFit":{var L;let W=(L=N.map(K=>[K.placement,K.overflows.filter(z=>z>0).reduce((z,Z)=>z+Z,0)]).sort((K,z)=>K[1]-z[1])[0])==null?void 0:L[0];W&&(D=W);break}case"initialPlacement":D=c;break}if(o!==D)return{reset:{placement:D}}}return{}}}};async function jd(e,t){let{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=xe(n),c=it(n),u=Qt(n)==="y",s=["left","top"].includes(a)?-1:1,l=i&&u?-1:1,f=ot(t,e),{mainAxis:p,crossAxis:m,alignmentAxis:g}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return c&&typeof g=="number"&&(m=c==="end"?g*-1:g),u?{x:m*l,y:p*s}:{x:p*s,y:m*l}}var Ao=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:o,y:i,placement:a,middlewareData:c}=t,u=await jd(t,e);return a===((n=c.offset)==null?void 0:n.placement)&&(r=c.arrow)!=null&&r.alignmentOffset?{}:{x:o+u.x,y:i+u.y,data:{...u,placement:a}}}}},gu=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:c={fn:h=>{let{x:y,y:_}=h;return{x:y,y:_}}},...u}=ot(e,t),s={x:n,y:r},l=await jo(t,u),f=Qt(xe(o)),p=xo(f),m=s[p],g=s[f];if(i){let h=p==="y"?"top":"left",y=p==="y"?"bottom":"right",_=m+l[h],w=m-l[y];m=Xn(_,m,w)}if(a){let h=f==="y"?"top":"left",y=f==="y"?"bottom":"right",_=g+l[h],w=g-l[y];g=Xn(_,g,w)}let v=c.fn({...t,[p]:m,[f]:g});return{...v,data:{x:v.x-n,y:v.y-r}}}}};function pe(e){return yu(e)?(e.nodeName||"").toLowerCase():"#document"}function Y(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function de(e){var t;return(t=(yu(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function yu(e){return e instanceof Node||e instanceof Y(e).Node}function ie(e){return e instanceof Element||e instanceof Y(e).Element}function ee(e){return e instanceof HTMLElement||e instanceof Y(e).HTMLElement}function vu(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Y(e).ShadowRoot}function at(e){let{overflow:t,overflowX:n,overflowY:r,display:o}=X(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function _u(e){return["table","td","th"].includes(pe(e))}function tr(e){let t=nr(),n=X(e);return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function bu(e){let t=He(e);for(;ee(t)&&!Gt(t);){if(tr(t))return t;t=He(t)}return null}function nr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Gt(e){return["html","body","#document"].includes(pe(e))}function X(e){return Y(e).getComputedStyle(e)}function en(e){return ie(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function He(e){if(pe(e)==="html")return e;let t=e.assignedSlot||e.parentNode||vu(e)&&e.host||de(e);return vu(t)?t.host:t}function wu(e){let t=He(e);return Gt(t)?e.ownerDocument?e.ownerDocument.body:e.body:ee(t)&&at(t)?t:wu(t)}function er(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);let o=wu(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),a=Y(o);return i?t.concat(a,a.visualViewport||[],at(o)?o:[],a.frameElement&&n?er(a.frameElement):[]):t.concat(o,er(o,[],n))}function xu(e){let t=X(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,o=ee(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,c=Xt(n)!==i||Xt(r)!==a;return c&&(n=i,r=a),{width:n,height:r,$:c}}function Eu(e){return ie(e)?e:e.contextElement}function ct(e){let t=Eu(e);if(!ee(t))return fe(1);let n=t.getBoundingClientRect(),{width:r,height:o,$:i}=xu(t),a=(i?Xt(n.width):n.width)/r,c=(i?Xt(n.height):n.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!c||!Number.isFinite(c))&&(c=1),{x:a,y:c}}var Ad=fe(0);function ju(e){let t=Y(e);return!nr()||!t.visualViewport?Ad:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Pd(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Y(e)?!1:t}function tn(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let o=e.getBoundingClientRect(),i=Eu(e),a=fe(1);t&&(r?ie(r)&&(a=ct(r)):a=ct(e));let c=Pd(i,n,r)?ju(i):fe(0),u=(o.left+c.x)/a.x,s=(o.top+c.y)/a.y,l=o.width/a.x,f=o.height/a.y;if(i){let p=Y(i),m=r&&ie(r)?Y(r):r,g=p,v=g.frameElement;for(;v&&r&&m!==g;){let h=ct(v),y=v.getBoundingClientRect(),_=X(v),w=y.left+(v.clientLeft+parseFloat(_.paddingLeft))*h.x,O=y.top+(v.clientTop+parseFloat(_.paddingTop))*h.y;u*=h.x,s*=h.y,l*=h.x,f*=h.y,u+=w,s+=O,g=Y(v),v=g.frameElement}}return Me({width:l,height:f,x:u,y:s})}var Id=[":popover-open",":modal"];function Au(e){return Id.some(t=>{try{return e.matches(t)}catch{return!1}})}function Cd(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e,i=o==="fixed",a=de(r),c=t?Au(t.floating):!1;if(r===a||c&&i)return n;let u={scrollLeft:0,scrollTop:0},s=fe(1),l=fe(0),f=ee(r);if((f||!f&&!i)&&((pe(r)!=="body"||at(a))&&(u=en(r)),ee(r))){let p=tn(r);s=ct(r),l.x=p.x+r.clientLeft,l.y=p.y+r.clientTop}return{width:n.width*s.x,height:n.height*s.y,x:n.x*s.x-u.scrollLeft*s.x+l.x,y:n.y*s.y-u.scrollTop*s.y+l.y}}function Dd(e){return Array.from(e.getClientRects())}function Pu(e){return tn(de(e)).left+en(e).scrollLeft}function kd(e){let t=de(e),n=en(e),r=e.ownerDocument.body,o=Se(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=Se(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),a=-n.scrollLeft+Pu(e),c=-n.scrollTop;return X(r).direction==="rtl"&&(a+=Se(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:c}}function Td(e,t){let n=Y(e),r=de(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,c=0,u=0;if(o){i=o.width,a=o.height;let s=nr();(!s||s&&t==="fixed")&&(c=o.offsetLeft,u=o.offsetTop)}return{width:i,height:a,x:c,y:u}}function Rd(e,t){let n=tn(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=ee(e)?ct(e):fe(1),a=e.clientWidth*i.x,c=e.clientHeight*i.y,u=o*i.x,s=r*i.y;return{width:a,height:c,x:u,y:s}}function Ou(e,t,n){let r;if(t==="viewport")r=Td(e,n);else if(t==="document")r=kd(de(e));else if(ie(t))r=Rd(t,n);else{let o=ju(e);r={...t,x:t.x-o.x,y:t.y-o.y}}return Me(r)}function Iu(e,t){let n=He(e);return n===t||!ie(n)||Gt(n)?!1:X(n).position==="fixed"||Iu(n,t)}function Nd(e,t){let n=t.get(e);if(n)return n;let r=er(e,[],!1).filter(c=>ie(c)&&pe(c)!=="body"),o=null,i=X(e).position==="fixed",a=i?He(e):e;for(;ie(a)&&!Gt(a);){let c=X(a),u=tr(a);!u&&c.position==="fixed"&&(o=null),(i?!u&&!o:!u&&c.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||at(a)&&!u&&Iu(e,a))?r=r.filter(l=>l!==a):o=c,a=He(a)}return t.set(e,r),r}function Ld(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e,a=[...n==="clippingAncestors"?Nd(t,this._c):[].concat(n),r],c=a[0],u=a.reduce((s,l)=>{let f=Ou(t,l,o);return s.top=Se(f.top,s.top),s.right=Le(f.right,s.right),s.bottom=Le(f.bottom,s.bottom),s.left=Se(f.left,s.left),s},Ou(t,c,o));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function Md(e){let{width:t,height:n}=xu(e);return{width:t,height:n}}function Hd(e,t,n){let r=ee(t),o=de(t),i=n==="fixed",a=tn(e,!0,i,t),c={scrollLeft:0,scrollTop:0},u=fe(0);if(r||!r&&!i)if((pe(t)!=="body"||at(o))&&(c=en(t)),r){let f=tn(t,!0,i,t);u.x=f.x+t.clientLeft,u.y=f.y+t.clientTop}else o&&(u.x=Pu(o));let s=a.left+c.scrollLeft-u.x,l=a.top+c.scrollTop-u.y;return{x:s,y:l,width:a.width,height:a.height}}function Su(e,t){return!ee(e)||X(e).position==="fixed"?null:t?t(e):e.offsetParent}function Cu(e,t){let n=Y(e);if(!ee(e)||Au(e))return n;let r=Su(e,t);for(;r&&_u(r)&&X(r).position==="static";)r=Su(r,t);return r&&(pe(r)==="html"||pe(r)==="body"&&X(r).position==="static"&&!tr(r))?n:r||bu(e)||n}var qd=async function(e){let t=this.getOffsetParent||Cu,n=this.getDimensions;return{reference:Hd(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,...await n(e.floating)}}};function Fd(e){return X(e).direction==="rtl"}var Bd={convertOffsetParentRelativeRectToViewportRelativeRect:Cd,getDocumentElement:de,getClippingRect:Ld,getOffsetParent:Cu,getElementRects:qd,getClientRects:Dd,getDimensions:Md,getScale:ct,isElement:ie,isRTL:Fd};var Du=gu,ku=hu;var Tu=mu;var Ru=(e,t,n)=>{let r=new Map,o={platform:Bd,...n},i={...o.platform,_c:r};return du(e,t,{...o,platform:i})};window.Alpine=Et;Et.plugin(sa);Et.store("showSidebar",!1);Et.start();var $d=["ADD","ARG","CMD","COPY","ENTRYPOINT","ENV","EXPOSE","FROM","HEALTHCHECK","LABEL","ONBUILD","RUN","SHELL","STOPSIGNAL","USER","VOLUME","WORKDIR"],Ud=Array.from(document.querySelectorAll(".language-dockerfile span.k")).filter(e=>$d.some(t=>e.textContent.includes(t)));for(let e of Ud){let t=e.textContent,n=document.createElement("a");n.classList.add("underline","underline-offset-4","decoration-dashed","cursor-pointer"),n.title=`Learn more about the ${t} instruction`,n.href=`/reference/dockerfile/#${t.toLowerCase()}`,n.innerHTML=e.outerHTML,e.insertAdjacentElement("beforebegin",n),e.remove()}var{appid:Vd,apikey:Wd,indexname:Kd}=So;uu({container:"#docsearch",appId:Vd,apiKey:Wd,indexName:Kd,transformItems(e){return e.map(t=>({...t,url:t.url.replace("https://docs.docker.com","")}))}});function zd(e){let t=e.currentTarget.parentElement,n=e.currentTarget.querySelectorAll(".icon-svg");t.querySelector("ul").classList.toggle("hidden"),n.forEach(o=>o.classList.toggle("hidden"))}var Nu=document.querySelector("#sectiontree");if(Nu)for(let e of Nu.querySelectorAll("button"))e.addEventListener("click",zd);var Po=document.querySelector("#TableOfContents"),Jd=document.querySelectorAll("main article h2, main article h3");Po&&(window.addEventListener("scroll",Lu),Lu());function Lu(){let e=Array.from(Jd).reduce((r,o)=>{let{top:i}=o.getBoundingClientRect();return i<100?o:r}),t=Po.querySelector('a[aria-current="true"]'),n=Po.querySelector(`a[href="#${e.id}"]`);t&&t.removeAttribute("aria-current"),n&&n.setAttribute("aria-current","true")}var Yd=Array.from(document.querySelectorAll("[data-tooltip-wrapper]"));for(let e of Yd){let o=function(){Ru(t,n,{placement:"top",middleware:[Ao(6),ku(),Du({padding:5}),Tu({element:r})]}).then(({x:c,y:u,placement:s,middlewareData:l})=>{Object.assign(n.style,{left:`${c}px`,top:`${u}px`});let{x:f,y:p}=l.arrow,m={top:"bottom",right:"left",bottom:"top",left:"right"}[s.split("-")[0]];Object.assign(r.style,{left:f!=null?`${f}px`:"",top:p!=null?`${p}px`:"",right:"",bottom:"",[m]:"-4px"})})},i=function(){n.classList.toggle("hidden"),o()},a=function(){n.classList.toggle("hidden")},t=e.firstElementChild,n=t.nextElementSibling,r=n.firstElementChild;[["mouseenter",i],["mouseleave",a],["focus",i],["blur",a]].forEach(([c,u])=>{t.addEventListener(c,u)})}var Zd=document.querySelectorAll(".highlight");for(let e of Zd)e.innerHTML=e.innerHTML.replaceAll(/&lt;([A-Z_]+)&gt;/g,`<var class="text-violet-light dark:text-violet-dark"
        >$1</var>`);})();
/*! Bundled license information:

@docsearch/js/dist/esm/index.js:
  (*! @docsearch/js 3.5.2 | MIT License | © Algolia, Inc. and contributors | https://docsearch.algolia.com *)
*/
